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