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