pub enum StateRole {
State,
Comb,
}Expand description
How a state object gets its value.
Variants§
State
Held across evaluations: registers, memories and inputs.
Comb
Written by combinational logic and recomputed from the other state.
Trait Implementations§
impl Copy for StateRole
impl Eq for StateRole
impl StructuralPartialEq for StateRole
Auto Trait Implementations§
impl Freeze for StateRole
impl RefUnwindSafe for StateRole
impl Send for StateRole
impl Sync for StateRole
impl Unpin for StateRole
impl UnsafeUnpin for StateRole
impl UnwindSafe for StateRole
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