pub struct SiteShift {
pub guard_name: String,
pub shifts: Vec<ShiftStep>,
}Expand description
A clocked call site’s end-of-step work.
Fields§
§guard_name: StringThe compiled guard (i8 f(handle), 1 when the site ticked).
shifts: Vec<ShiftStep>Executed in order when the guard returns 1: S_{d-1} <- S_{d-2}, …,
S_1 <- S_0, then S_0 <- P, per signal.
Trait Implementations§
impl Eq for SiteShift
impl StructuralPartialEq for SiteShift
Auto Trait Implementations§
impl Freeze for SiteShift
impl RefUnwindSafe for SiteShift
impl Send for SiteShift
impl Sync for SiteShift
impl Unpin for SiteShift
impl UnsafeUnpin for SiteShift
impl UnwindSafe for SiteShift
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.