pub enum AliasValue {
Path(String),
Ignore,
}Expand description
Alias Value for ResolveOptions::alias and ResolveOptions::fallback
Variants§
Trait Implementations§
Source§impl Clone for AliasValue
impl Clone for AliasValue
Source§fn clone(&self) -> AliasValue
fn clone(&self) -> AliasValue
Returns a duplicate of the value. Read more
1.0.0 · 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 AliasValue
impl Debug for AliasValue
Source§impl<S> From<S> for AliasValue
impl<S> From<S> for AliasValue
Source§impl Hash for AliasValue
impl Hash for AliasValue
Source§impl PartialEq for AliasValue
impl PartialEq for AliasValue
impl Eq for AliasValue
impl StructuralPartialEq for AliasValue
Auto Trait Implementations§
impl Freeze for AliasValue
impl RefUnwindSafe for AliasValue
impl Send for AliasValue
impl Sync for AliasValue
impl Unpin for AliasValue
impl UnwindSafe for AliasValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.