pub enum Reg {
Control(u8, Type, bool),
ImmNum(u64),
ImmBool(bool),
Implicit(u8, Type),
Local(u8, Type),
Primitive(u8, Type),
Report(u8, Type, bool),
Tmp(u8, Type),
None,
}
Expand description
A datapath register.
Variants§
Control(u8, Type, bool)
ImmNum(u64)
ImmBool(bool)
Implicit(u8, Type)
Local(u8, Type)
Primitive(u8, Type)
Report(u8, Type, bool)
Tmp(u8, Type)
None
Implementations§
Trait Implementations§
source§impl IntoIterator for Reg
impl IntoIterator for Reg
impl Eq for Reg
impl StructuralEq for Reg
impl StructuralPartialEq for Reg
Auto Trait Implementations§
impl RefUnwindSafe for Reg
impl Send for Reg
impl Sync for Reg
impl Unpin for Reg
impl UnwindSafe for Reg
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.