pub enum Presence {
Always,
When(Trigger),
Unknown {
frames: Vec<String>,
},
}Expand description
Whether a frame has a step.
Variants§
Always
Every frame has it.
When(Trigger)
A frame has it where the condition holds, as the source’s recorded frames show.
Unknown
Some frames have it and what decides it is not known: the recorded frames that had it (the source’s names for them), so that a consumer can say why it drew or skipped the step. Never empty.
Trait Implementations§
impl Eq for Presence
impl StructuralPartialEq for Presence
Auto Trait Implementations§
impl Forget for Presence
impl Freeze for Presence
impl RefUnwindSafe for Presence
impl Send for Presence
impl Sync for Presence
impl Unpin for Presence
impl UnsafeUnpin for Presence
impl UnwindSafe for Presence
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.