pub enum Policy {
Constant,
Input,
Event,
State,
}Expand description
What happens to a cell around an evaluation.
Variants§
Constant
Set once in the initial table. The program keeps it.
Input
The host writes it before an evaluation. The program keeps it.
Event
An exact bit the host sets to 1 when an event arrives. The program resets it to 0.
State
The program computes its next value.
Trait Implementations§
impl Copy for Policy
impl Eq for Policy
impl StructuralPartialEq for Policy
Auto Trait Implementations§
impl Freeze for Policy
impl RefUnwindSafe for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnsafeUnpin for Policy
impl UnwindSafe for Policy
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