pub enum TargetSource {
BuiltIn(&'static str),
Filesystem(PathBuf),
UserConfig(PathBuf),
Pack {
pack: String,
path: PathBuf,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TargetSource
impl Clone for TargetSource
Source§fn clone(&self) -> TargetSource
fn clone(&self) -> TargetSource
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 moreSource§impl Debug for TargetSource
impl Debug for TargetSource
impl Eq for TargetSource
Source§impl PartialEq for TargetSource
impl PartialEq for TargetSource
impl StructuralPartialEq for TargetSource
Auto Trait Implementations§
impl Freeze for TargetSource
impl RefUnwindSafe for TargetSource
impl Send for TargetSource
impl Sync for TargetSource
impl Unpin for TargetSource
impl UnsafeUnpin for TargetSource
impl UnwindSafe for TargetSource
Blanket Implementations§
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