#[repr(u8)]pub enum LogicVal {
L = 0,
H = 1,
X = 2,
Z = 3,
U = 4,
R = 5,
F = 6,
}
Expand description
The inputs and outputs of logic.
The number assignments should satisfy {LHXZ} = 0..4, {LHXZU} = 0..5, and {LHXZURF} = 0..7, because they are used as compressed table index.
Variants§
Trait Implementations§
impl Copy for LogicVal
impl Eq for LogicVal
impl StructuralPartialEq for LogicVal
Auto Trait Implementations§
impl Freeze for LogicVal
impl RefUnwindSafe for LogicVal
impl Send for LogicVal
impl Sync for LogicVal
impl Unpin for LogicVal
impl UnwindSafe for LogicVal
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<This> GetAssertZeroable for This
impl<This> GetAssertZeroable for This
Source§const GET: AssertZeroable<Self> = AssertZeroable::NEW
const GET: AssertZeroable<Self> = AssertZeroable::NEW
Gets an
AssertZeroable<Self>
,
a marker type representing that T
is Zeroable