Enum sv_parser::OutputDeclaration
source · pub enum OutputDeclaration {
Net(Box<OutputDeclarationNet>),
Variable(Box<OutputDeclarationVariable>),
}
Variants§
Net(Box<OutputDeclarationNet>)
Variable(Box<OutputDeclarationVariable>)
Trait Implementations§
source§impl Clone for OutputDeclaration
impl Clone for OutputDeclaration
source§fn clone(&self) -> OutputDeclaration
fn clone(&self) -> OutputDeclaration
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 OutputDeclaration
impl Debug for OutputDeclaration
source§impl<'a> From<&'a OutputDeclaration> for RefNode<'a>
impl<'a> From<&'a OutputDeclaration> for RefNode<'a>
source§fn from(x: &'a OutputDeclaration) -> RefNode<'a>
fn from(x: &'a OutputDeclaration) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a OutputDeclaration> for RefNodes<'a>
impl<'a> From<&'a OutputDeclaration> for RefNodes<'a>
source§fn from(x: &'a OutputDeclaration) -> RefNodes<'a>
fn from(x: &'a OutputDeclaration) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<OutputDeclaration> for AnyNode
impl From<OutputDeclaration> for AnyNode
source§fn from(x: OutputDeclaration) -> AnyNode
fn from(x: OutputDeclaration) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a OutputDeclaration
impl<'a> IntoIterator for &'a OutputDeclaration
source§impl PartialEq for OutputDeclaration
impl PartialEq for OutputDeclaration
source§fn eq(&self, other: &OutputDeclaration) -> bool
fn eq(&self, other: &OutputDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a OutputDeclaration> for Locate
impl<'a> TryFrom<&'a OutputDeclaration> for Locate
source§impl TryFrom<AnyNode> for OutputDeclaration
impl TryFrom<AnyNode> for OutputDeclaration
source§impl TryFrom<OutputDeclaration> for Locate
impl TryFrom<OutputDeclaration> for Locate
impl StructuralPartialEq for OutputDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for OutputDeclaration
impl Send for OutputDeclaration
impl Sync for OutputDeclaration
impl Unpin for OutputDeclaration
impl UnwindSafe for OutputDeclaration
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