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