Enum sv_parser::WeightSpecification
source · pub enum WeightSpecification {
IntegralNumber(Box<IntegralNumber, Global>),
PsIdentifier(Box<PsIdentifier, Global>),
Expression(Box<WeightSpecificationExpression, Global>),
}
Variants§
IntegralNumber(Box<IntegralNumber, Global>)
PsIdentifier(Box<PsIdentifier, Global>)
Expression(Box<WeightSpecificationExpression, Global>)
Trait Implementations§
source§impl Clone for WeightSpecification
impl Clone for WeightSpecification
source§fn clone(&self) -> WeightSpecification
fn clone(&self) -> WeightSpecification
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 WeightSpecification
impl Debug for WeightSpecification
source§impl<'a> From<&'a WeightSpecification> for RefNode<'a>
impl<'a> From<&'a WeightSpecification> for RefNode<'a>
source§fn from(x: &'a WeightSpecification) -> RefNode<'a>
fn from(x: &'a WeightSpecification) -> RefNode<'a>
Converts to this type from the input type.
source§impl<'a> From<&'a WeightSpecification> for RefNodes<'a>
impl<'a> From<&'a WeightSpecification> for RefNodes<'a>
source§fn from(x: &'a WeightSpecification) -> RefNodes<'a>
fn from(x: &'a WeightSpecification) -> RefNodes<'a>
Converts to this type from the input type.
source§impl From<WeightSpecification> for AnyNode
impl From<WeightSpecification> for AnyNode
source§fn from(x: WeightSpecification) -> AnyNode
fn from(x: WeightSpecification) -> AnyNode
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a WeightSpecification
impl<'a> IntoIterator for &'a WeightSpecification
source§impl PartialEq<WeightSpecification> for WeightSpecification
impl PartialEq<WeightSpecification> for WeightSpecification
source§fn eq(&self, other: &WeightSpecification) -> bool
fn eq(&self, other: &WeightSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.