#[repr(u8)]
pub enum LogicVal {
L,
H,
X,
Z,
U,
R,
F,
}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
L
H
X
Z
U
R
F
Trait Implementations
impl Copy for LogicVal
impl Eq for LogicVal
impl StructuralEq for LogicVal
impl StructuralPartialEq for LogicVal
Auto Trait Implementations
impl RefUnwindSafe for LogicVal
impl Send for LogicVal
impl Sync for LogicVal
impl Unpin for LogicVal
impl UnwindSafe for LogicVal
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.