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