pub enum Disposition {
Keep,
Finalize(FinalizeReason),
Discard,
}Expand description
What should happen to an in-flight item, as decided either by a per-frame
step or by a Boundary.
Variants§
Keep
Keep accumulating; the item stays in flight.
Finalize(FinalizeReason)
Finalize now, for the given reason. The item is removed and handed back to the caller to convert into an event.
Discard
Abandon the item without emitting anything.
Trait Implementations§
Source§impl Clone for Disposition
impl Clone for Disposition
impl Copy for Disposition
Source§impl Debug for Disposition
impl Debug for Disposition
impl Eq for Disposition
Source§impl PartialEq for Disposition
impl PartialEq for Disposition
impl StructuralPartialEq for Disposition
Auto Trait Implementations§
impl Freeze for Disposition
impl RefUnwindSafe for Disposition
impl Send for Disposition
impl Sync for Disposition
impl Unpin for Disposition
impl UnsafeUnpin for Disposition
impl UnwindSafe for Disposition
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