pub enum PackSource<'a> {
Items(&'a [String]),
Folder(&'a str),
Smart(&'a str),
}Expand description
What to put in a pack.
Variants§
Items(&'a [String])
These items, with their folder memberships cleared (Eagle’s “export selected”). Trashed items are allowed and come out untrashed.
Folder(&'a str)
A folder, its subfolders and every untrashed item in any of them.
Smart(&'a str)
A smart folder’s items, packed as one folder without subfolders: Eagle gives the folder a new id, keeps the smart folder’s name, description and icon, and files every item in it.
Trait Implementations§
Source§impl<'a> Clone for PackSource<'a>
impl<'a> Clone for PackSource<'a>
Source§fn clone(&self) -> PackSource<'a>
fn clone(&self) -> PackSource<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for PackSource<'a>
Auto Trait Implementations§
impl<'a> Freeze for PackSource<'a>
impl<'a> RefUnwindSafe for PackSource<'a>
impl<'a> Send for PackSource<'a>
impl<'a> Sync for PackSource<'a>
impl<'a> Unpin for PackSource<'a>
impl<'a> UnsafeUnpin for PackSource<'a>
impl<'a> UnwindSafe for PackSource<'a>
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more