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