pub enum Use {
Module(ModuleIdent, Option<ModuleName>),
Members(ModuleIdent, Vec<(Name, Option<Name>)>),
}Variants§
Module(ModuleIdent, Option<ModuleName>)
Members(ModuleIdent, Vec<(Name, Option<Name>)>)
Trait Implementations§
impl Eq for Use
impl StructuralEq for Use
impl StructuralPartialEq for Use
Auto Trait Implementations§
impl RefUnwindSafe for Use
impl Send for Use
impl Sync for Use
impl Unpin for Use
impl UnwindSafe for Use
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.