[][src]Struct moore_vhdl::konst::ConstRange

pub struct ConstRange<T: Display + Debug> {
    pub dir: Dir,
    pub left_bound: T,
    pub right_bound: T,
}

A constant range value.

Fields

dir: Dirleft_bound: Tright_bound: T

Implementations

impl<T> ConstRange<T> where
    T: Display + Debug
[src]

pub fn new(dir: Dir, left_bound: T, right_bound: T) -> ConstRange<T>[src]

Create a new constant range.

Trait Implementations

impl<T: Clone + Display + Debug> Clone for ConstRange<T>[src]

impl<T: Debug + Display> Debug for ConstRange<T>[src]

impl<T> Display for ConstRange<T> where
    T: Display + Debug
[src]

impl<T: Eq + Display + Debug> Eq for ConstRange<T>[src]

impl From<ConstRange<ConstFloat>> for Const[src]

impl From<ConstRange<ConstInt>> for Const[src]

impl<T: PartialEq + Display + Debug> PartialEq<ConstRange<T>> for ConstRange<T>[src]

impl<T: Display + Debug> StructuralEq for ConstRange<T>[src]

impl<T: Display + Debug> StructuralPartialEq for ConstRange<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ConstRange<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for ConstRange<T> where
    T: Send
[src]

impl<T> Sync for ConstRange<T> where
    T: Sync
[src]

impl<T> Unpin for ConstRange<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for ConstRange<T> where
    T: UnwindSafe
[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.