[][src]Enum moore_svlog::ty::Dim

pub enum Dim<'a> {
    Packed(PackedDim),
    Unpacked(UnpackedDim<'a>),
}

A packed or unpacked dimension.

Variants

Packed(PackedDim)

A packed dimension.

Unpacked(UnpackedDim<'a>)

An unpacked dimension.

Implementations

impl Dim<'_>[src]

pub fn get_range(&self) -> Option<Range>[src]

Get the dimension's range, or None if it has no range.

pub fn get_size(&self) -> Option<usize>[src]

Get the dimension's size, or None if it has no size.

Trait Implementations

impl<'a> Clone for Dim<'a>[src]

impl<'a> Copy for Dim<'a>[src]

impl<'a> Debug for Dim<'a>[src]

impl Display for Dim<'_>[src]

impl<'a> Eq for Dim<'a>[src]

impl<'a> Hash for Dim<'a>[src]

impl<'a> PartialEq<Dim<'a>> for Dim<'a>[src]

impl<'a> StructuralEq for Dim<'a>[src]

impl<'a> StructuralPartialEq for Dim<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Dim<'a>[src]

impl<'a> Send for Dim<'a>[src]

impl<'a> Sync for Dim<'a>[src]

impl<'a> Unpin for Dim<'a>[src]

impl<'a> !UnwindSafe for Dim<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.