Struct moore_vhdl::konst::ConstRange
[−]
[src]
pub struct ConstRange<T: Display + Debug> { pub dir: Dir, pub left_bound: T, pub right_bound: T, }
A constant range value.
Fields
dir: Dir
left_bound: T
right_bound: T
Methods
impl<T> ConstRange<T> where
T: Display + Debug,
[src]
T: Display + Debug,
fn new(dir: Dir, left_bound: T, right_bound: T) -> ConstRange<T>
[src]
Create a new constant range.
Trait Implementations
impl<T: Debug + Display + Debug> Debug for ConstRange<T>
[src]
impl<T: Clone + Display + Debug> Clone for ConstRange<T>
[src]
fn clone(&self) -> ConstRange<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: PartialEq + Display + Debug> PartialEq for ConstRange<T>
[src]
fn eq(&self, __arg_0: &ConstRange<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ConstRange<T>) -> bool
[src]
This method tests for !=
.
impl<T: Eq + Display + Debug> Eq for ConstRange<T>
[src]
impl<T> Display for ConstRange<T> where
T: Display + Debug,
[src]
T: Display + Debug,