pub enum SlotFill {
Replayed,
NotKept,
Params,
Reads,
NotReplayable,
Moved,
}Expand description
How Ui::slot_replay filled a slot: replayed from what was kept, or
run fresh, and why. Every answer but Replayed left the slot filled
and kept as slot_kept would, so the next frame may replay it.
Variants§
Replayed
Last frame’s nodes, pushed again; the extension was not asked.
NotKept
Nothing was kept for the name: its first frame, a frame after
one that did not declare it, or one that filled it with
slot_with.
Params
The params differ from the kept fill’s.
Reads
A fact of the frame the fill read has moved since: a hover, a focus, a scroll offset, the theme, the clock.
NotReplayable
The kept fill cannot be replayed: it declared something of the frame beyond its nodes, pushed through a door the journal does not know, or its view failed.
Moved
The slot was declared under another parent than the kept fill’s, so its keys would not be the kept ones.
Implementations§
Trait Implementations§
impl Copy for SlotFill
impl Eq for SlotFill
impl StructuralPartialEq for SlotFill
Auto Trait Implementations§
impl Freeze for SlotFill
impl RefUnwindSafe for SlotFill
impl Send for SlotFill
impl Sync for SlotFill
impl Unpin for SlotFill
impl UnsafeUnpin for SlotFill
impl UnwindSafe for SlotFill
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
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
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
key and return true if they are equal.