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§
source§impl Clone for ProgramDeclaration
impl Clone for ProgramDeclaration
source§fn clone(&self) -> ProgramDeclaration
fn clone(&self) -> ProgramDeclaration
Returns a copy 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 ProgramDeclaration
impl Debug for ProgramDeclaration
source§impl<'a> From<&'a ProgramDeclaration> for RefNode<'a>
impl<'a> From<&'a ProgramDeclaration> for RefNode<'a>
source§fn from(x: &'a ProgramDeclaration) -> Self
fn from(x: &'a ProgramDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a ProgramDeclaration> for RefNodes<'a>
impl<'a> From<&'a ProgramDeclaration> for RefNodes<'a>
source§fn from(x: &'a ProgramDeclaration) -> Self
fn from(x: &'a ProgramDeclaration) -> Self
Converts to this type from the input type.
source§impl From<ProgramDeclaration> for AnyNode
impl From<ProgramDeclaration> for AnyNode
source§fn from(x: ProgramDeclaration) -> Self
fn from(x: ProgramDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ProgramDeclaration
impl<'a> IntoIterator for &'a ProgramDeclaration
source§impl PartialEq<ProgramDeclaration> for ProgramDeclaration
impl PartialEq<ProgramDeclaration> for ProgramDeclaration
source§fn 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 ==
.