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