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