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