pub struct ComponentList { /* private fields */ }Implementations§
Source§impl ComponentList
impl ComponentList
pub fn new<C>(component: C) -> ComponentListwhere
C: Component + 'static,
Sourcepub fn generation(&self) -> u64
pub fn generation(&self) -> u64
Current content generation. Increments whenever the composed draw commands are rebuilt. Two reads returning the same value guarantee identical commands() output.
pub fn is_dirty(&self) -> bool
pub fn commands(&self) -> Ref<'_, Vec<DrawCommand>>
Sourcepub fn walk_tree(&self, out: &mut Vec<SegmentNodeInfo>)
pub fn walk_tree(&self, out: &mut Vec<SegmentNodeInfo>)
Emits the component tree in pre-order for the devtools inspector. See SegmentRoot::walk.
pub fn on_event(&mut self, event: &Event) -> EventResult
pub fn bump_force_ticks(&self)
Auto Trait Implementations§
impl !Freeze for ComponentList
impl !RefUnwindSafe for ComponentList
impl !Send for ComponentList
impl !Sync for ComponentList
impl !UnwindSafe for ComponentList
impl Unpin for ComponentList
impl UnsafeUnpin for ComponentList
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