pub enum ModuleDeclaration {
Nonansi(Box<ModuleDeclarationNonansi>),
Ansi(Box<ModuleDeclarationAnsi>),
Wildcard(Box<ModuleDeclarationWildcard>),
ExternNonansi(Box<ModuleDeclarationExternNonansi>),
ExternAnsi(Box<ModuleDeclarationExternAnsi>),
}Variants
Nonansi(Box<ModuleDeclarationNonansi>)
Ansi(Box<ModuleDeclarationAnsi>)
Wildcard(Box<ModuleDeclarationWildcard>)
ExternNonansi(Box<ModuleDeclarationExternNonansi>)
ExternAnsi(Box<ModuleDeclarationExternAnsi>)
Trait Implementations
sourceimpl Clone for ModuleDeclaration
impl Clone for ModuleDeclaration
sourcefn clone(&self) -> ModuleDeclaration
fn clone(&self) -> ModuleDeclaration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ModuleDeclaration
impl Debug for ModuleDeclaration
sourceimpl<'a> From<&'a ModuleDeclaration> for RefNodes<'a>
impl<'a> From<&'a ModuleDeclaration> for RefNodes<'a>
sourcefn from(x: &'a ModuleDeclaration) -> Self
fn from(x: &'a ModuleDeclaration) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ModuleDeclaration> for RefNode<'a>
impl<'a> From<&'a ModuleDeclaration> for RefNode<'a>
sourcefn from(x: &'a ModuleDeclaration) -> Self
fn from(x: &'a ModuleDeclaration) -> Self
Converts to this type from the input type.
sourceimpl From<ModuleDeclaration> for AnyNode
impl From<ModuleDeclaration> for AnyNode
sourcefn from(x: ModuleDeclaration) -> Self
fn from(x: ModuleDeclaration) -> Self
Converts to this type from the input type.
sourceimpl<'a> IntoIterator for &'a ModuleDeclaration
impl<'a> IntoIterator for &'a ModuleDeclaration
sourceimpl PartialEq<ModuleDeclaration> for ModuleDeclaration
impl PartialEq<ModuleDeclaration> for ModuleDeclaration
sourcefn eq(&self, other: &ModuleDeclaration) -> bool
fn eq(&self, other: &ModuleDeclaration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ModuleDeclaration) -> bool
fn ne(&self, other: &ModuleDeclaration) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a ModuleDeclaration> for Locate
impl<'a> TryFrom<&'a ModuleDeclaration> for Locate
sourceimpl TryFrom<AnyNode> for ModuleDeclaration
impl TryFrom<AnyNode> for ModuleDeclaration
sourceimpl TryFrom<ModuleDeclaration> for Locate
impl TryFrom<ModuleDeclaration> for Locate
impl StructuralPartialEq for ModuleDeclaration
Auto Trait Implementations
impl RefUnwindSafe for ModuleDeclaration
impl Send for ModuleDeclaration
impl Sync for ModuleDeclaration
impl Unpin for ModuleDeclaration
impl UnwindSafe for ModuleDeclaration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more