pub struct DepartStore { /* private fields */ }Expand description
The departing subtrees, bounded (see MAX_NODES).
Implementations§
Source§impl DepartStore
impl DepartStore
Sourcepub fn animating(&self) -> bool
pub fn animating(&self) -> bool
True when a ghost replayed this frame is still mid-flight, i.e. the driver owes another frame.
Sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
Whether anything is departing at all — the gate every pass that would otherwise walk an empty store checks first.
Sourcepub fn node_count(&self) -> usize
pub fn node_count(&self) -> usize
How many nodes are retained across every departing subtree.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DepartStore
impl RefUnwindSafe for DepartStore
impl Send for DepartStore
impl Sync for DepartStore
impl Unpin for DepartStore
impl UnsafeUnpin for DepartStore
impl UnwindSafe for DepartStore
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