Enum sv_parser::ProgramDeclaration
source · 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) -> RefNode<'a>
fn from(x: &'a ProgramDeclaration) -> RefNode<'a>
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) -> RefNodes<'a>
fn from(x: &'a ProgramDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ProgramDeclaration> for AnyNode
impl From<ProgramDeclaration> for AnyNode
source§fn from(x: ProgramDeclaration) -> AnyNode
fn from(x: ProgramDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ProgramDeclaration
impl<'a> IntoIterator for &'a ProgramDeclaration
source§impl PartialEq for ProgramDeclaration
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a ProgramDeclaration> for Locate
impl<'a> TryFrom<&'a ProgramDeclaration> for Locate
source§impl TryFrom<AnyNode> for ProgramDeclaration
impl TryFrom<AnyNode> for ProgramDeclaration
source§impl 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§
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