pub enum ProgramDeclaration {
Nonansi(Box<ProgramDeclarationNonansi>),
Ansi(Box<ProgramDeclarationAnsi>),
Wildcard(Box<ProgramDeclarationWildcard>),
ExternNonansi(Box<ProgramDeclarationExternNonansi>),
ExternAnsi(Box<ProgramDeclarationExternAnsi>),
}Variants
Nonansi(Box<ProgramDeclarationNonansi>)
Ansi(Box<ProgramDeclarationAnsi>)
Wildcard(Box<ProgramDeclarationWildcard>)
ExternNonansi(Box<ProgramDeclarationExternNonansi>)
ExternAnsi(Box<ProgramDeclarationExternAnsi>)
Trait Implementations
sourceimpl Clone for ProgramDeclaration
impl Clone for ProgramDeclaration
sourcefn clone(&self) -> ProgramDeclaration
fn clone(&self) -> ProgramDeclaration
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 ProgramDeclaration
impl Debug for ProgramDeclaration
sourceimpl<'a> From<&'a ProgramDeclaration> for RefNodes<'a>
impl<'a> From<&'a ProgramDeclaration> for RefNodes<'a>
sourcefn from(x: &'a ProgramDeclaration) -> Self
fn from(x: &'a ProgramDeclaration) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a ProgramDeclaration> for RefNode<'a>
impl<'a> From<&'a ProgramDeclaration> for RefNode<'a>
sourcefn from(x: &'a ProgramDeclaration) -> Self
fn from(x: &'a ProgramDeclaration) -> Self
Converts to this type from the input type.
sourceimpl From<ProgramDeclaration> for AnyNode
impl From<ProgramDeclaration> for AnyNode
sourcefn from(x: ProgramDeclaration) -> Self
fn from(x: ProgramDeclaration) -> Self
Converts to this type from the input type.
sourceimpl<'a> IntoIterator for &'a ProgramDeclaration
impl<'a> IntoIterator for &'a ProgramDeclaration
sourceimpl PartialEq<ProgramDeclaration> for ProgramDeclaration
impl PartialEq<ProgramDeclaration> for ProgramDeclaration
sourcefn eq(&self, other: &ProgramDeclaration) -> bool
fn eq(&self, other: &ProgramDeclaration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ProgramDeclaration) -> bool
fn ne(&self, other: &ProgramDeclaration) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a ProgramDeclaration> for Locate
impl<'a> TryFrom<&'a ProgramDeclaration> for Locate
sourceimpl TryFrom<AnyNode> for ProgramDeclaration
impl TryFrom<AnyNode> for ProgramDeclaration
sourceimpl TryFrom<ProgramDeclaration> for Locate
impl TryFrom<ProgramDeclaration> for Locate
impl StructuralPartialEq for ProgramDeclaration
Auto Trait Implementations
impl RefUnwindSafe for ProgramDeclaration
impl Send for ProgramDeclaration
impl Sync for ProgramDeclaration
impl Unpin for ProgramDeclaration
impl UnwindSafe for ProgramDeclaration
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