pub struct OwedBy {
pub transitions: Vec<FrameHolder>,
pub cycles: Vec<FrameHolder>,
pub departures: Vec<FrameHolder>,
pub scrolls: Vec<FrameHolder>,
pub autoscroll: Option<FrameHolder>,
pub animate: Vec<FrameHolder>,
pub requests: Vec<FrameRequest>,
}Expand description
Who holds the frame the last one left owed: Core::owed, named.
Each list is empty when its kind in crate::Owed is
false, and names what made it true when it is.
Read with Core::owed_by from inside a view, where it describes the
frame before — the reason the frame being built exists — or between
frames, where it still does. Empty unless Core::set_frame_trace
turned the record on before that frame began.
Fields§
§transitions: Vec<FrameHolder>Nodes with a transition mid-flight, each with its slots
(Owed::transition).
cycles: Vec<FrameHolder>Nodes with a keyframe cycle running (Owed::cycle).
departures: Vec<FrameHolder>Subtrees still playing their exit (Owed::depart).
scrolls: Vec<FrameHolder>Scroll containers easing a programmatic offset change
(Owed::scroll).
autoscroll: Option<FrameHolder>The container a held drag is scrolling (Owed::autoscroll).
animate: Vec<FrameHolder>Nodes declaring animate (half of Owed::requested).
requests: Vec<FrameRequest>Where the frame was asked for (the other half of
Owed::requested), one per calling line, in the order first
asked, at most OwedBy::REQUESTS of them.
Implementations§
Trait Implementations§
impl Eq for OwedBy
impl StructuralPartialEq for OwedBy
Auto Trait Implementations§
impl Freeze for OwedBy
impl RefUnwindSafe for OwedBy
impl Send for OwedBy
impl Sync for OwedBy
impl Unpin for OwedBy
impl UnsafeUnpin for OwedBy
impl UnwindSafe for OwedBy
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.