#[repr(u32)]pub enum LogicVal {
Zero = 0,
One = 1,
Z = 2,
X = 3,
H = 4,
L = 5,
DontCare = 6,
}Expand description
4-state scalar encodings used by VPI.
Variants§
Zero = 0
Logic 0.
One = 1
Logic 1.
Z = 2
High-impedance state.
X = 3
Unknown logic state.
H = 4
Weak high state.
L = 5
Weak low state.
DontCare = 6
Don’t-care state.
Trait Implementations§
impl Copy 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 UnsafeUnpin 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