pub struct EventCollector { /* private fields */ }Expand description
Accumulates all events into a Vec<CascadeEvent> for batch processing.
Useful for tests and for feeding render_events after a run.
Implementations§
Trait Implementations§
Source§impl Default for EventCollector
impl Default for EventCollector
Source§impl EventSink for EventCollector
impl EventSink for EventCollector
fn emit(&self, event: &CascadeEvent)
Auto Trait Implementations§
impl !Freeze for EventCollector
impl RefUnwindSafe for EventCollector
impl Send for EventCollector
impl Sync for EventCollector
impl Unpin for EventCollector
impl UnsafeUnpin for EventCollector
impl UnwindSafe for EventCollector
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