pub struct AddEvent(pub EventId);Expand description
Tuple Fields§
§0: EventIdTrait Implementations§
source§impl Ord for AddEvent
impl Ord for AddEvent
source§impl PartialEq for AddEvent
impl PartialEq for AddEvent
source§impl PartialOrd for AddEvent
impl PartialOrd for AddEvent
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for AddEvent
impl Eq for AddEvent
impl StructuralPartialEq for AddEvent
Auto Trait Implementations§
impl RefUnwindSafe for AddEvent
impl Send for AddEvent
impl Sync for AddEvent
impl Unpin for AddEvent
impl UnwindSafe for AddEvent
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
source§impl<E> EventSet for Ewhere
E: Event,
impl<E> EventSet for Ewhere
E: Event,
§type EventIndices = u32
type EventIndices = u32
The set of event indices.
source§fn new_state(world: &mut World) -> <E as EventSet>::EventIndices
fn new_state(world: &mut World) -> <E as EventSet>::EventIndices
Creates the set of event indices.
source§fn event_idx_of<F>(state: &<E as EventSet>::EventIndices) -> Option<u32>where
F: Event,
fn event_idx_of<F>(state: &<E as EventSet>::EventIndices) -> Option<u32>where
F: Event,
Gets an event index from the set. Returns
None if event E
is not in the set.source§fn for_each_idx<F>(state: &<E as EventSet>::EventIndices, f: F)
fn for_each_idx<F>(state: &<E as EventSet>::EventIndices, f: F)
Run a function on each event index in the set.