Enum sv_parser::ConstantPrimary
source · pub enum ConstantPrimary {
Show 16 variants
PrimaryLiteral(Box<PrimaryLiteral>),
PsParameter(Box<ConstantPrimaryPsParameter>),
Specparam(Box<ConstantPrimarySpecparam>),
GenvarIdentifier(Box<GenvarIdentifier>),
FormalPort(Box<ConstantPrimaryFormalPort>),
Enum(Box<ConstantPrimaryEnum>),
Concatenation(Box<ConstantPrimaryConcatenation>),
MultipleConcatenation(Box<ConstantPrimaryMultipleConcatenation>),
ConstantFunctionCall(Box<ConstantFunctionCall>),
ConstantLetExpression(Box<ConstantLetExpression>),
MintypmaxExpression(Box<ConstantPrimaryMintypmaxExpression>),
ConstantCast(Box<ConstantCast>),
ConstantAssignmentPatternExpression(Box<ConstantAssignmentPatternExpression>),
TypeReference(Box<TypeReference>),
Null(Box<Keyword>),
Dollar(Box<Keyword>),
}
Variants§
PrimaryLiteral(Box<PrimaryLiteral>)
PsParameter(Box<ConstantPrimaryPsParameter>)
Specparam(Box<ConstantPrimarySpecparam>)
GenvarIdentifier(Box<GenvarIdentifier>)
FormalPort(Box<ConstantPrimaryFormalPort>)
Enum(Box<ConstantPrimaryEnum>)
Concatenation(Box<ConstantPrimaryConcatenation>)
MultipleConcatenation(Box<ConstantPrimaryMultipleConcatenation>)
ConstantFunctionCall(Box<ConstantFunctionCall>)
ConstantLetExpression(Box<ConstantLetExpression>)
MintypmaxExpression(Box<ConstantPrimaryMintypmaxExpression>)
ConstantCast(Box<ConstantCast>)
ConstantAssignmentPatternExpression(Box<ConstantAssignmentPatternExpression>)
TypeReference(Box<TypeReference>)
Null(Box<Keyword>)
Dollar(Box<Keyword>)
Trait Implementations§
source§impl Clone for ConstantPrimary
impl Clone for ConstantPrimary
source§fn clone(&self) -> ConstantPrimary
fn clone(&self) -> ConstantPrimary
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 ConstantPrimary
impl Debug for ConstantPrimary
source§impl<'a> From<&'a ConstantPrimary> for RefNode<'a>
impl<'a> From<&'a ConstantPrimary> for RefNode<'a>
source§fn from(x: &'a ConstantPrimary) -> RefNode<'a>
fn from(x: &'a ConstantPrimary) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a ConstantPrimary> for RefNodes<'a>
impl<'a> From<&'a ConstantPrimary> for RefNodes<'a>
source§fn from(x: &'a ConstantPrimary) -> RefNodes<'a>
fn from(x: &'a ConstantPrimary) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<ConstantPrimary> for AnyNode
impl From<ConstantPrimary> for AnyNode
source§fn from(x: ConstantPrimary) -> AnyNode
fn from(x: ConstantPrimary) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a ConstantPrimary
impl<'a> IntoIterator for &'a ConstantPrimary
source§impl PartialEq for ConstantPrimary
impl PartialEq for ConstantPrimary
source§fn eq(&self, other: &ConstantPrimary) -> bool
fn eq(&self, other: &ConstantPrimary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a ConstantPrimary> for Locate
impl<'a> TryFrom<&'a ConstantPrimary> for Locate
source§impl TryFrom<AnyNode> for ConstantPrimary
impl TryFrom<AnyNode> for ConstantPrimary
source§impl TryFrom<ConstantPrimary> for Locate
impl TryFrom<ConstantPrimary> for Locate
impl StructuralPartialEq for ConstantPrimary
Auto Trait Implementations§
impl RefUnwindSafe for ConstantPrimary
impl Send for ConstantPrimary
impl Sync for ConstantPrimary
impl Unpin for ConstantPrimary
impl UnwindSafe for ConstantPrimary
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