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