pub struct ActiveEvents<'a> {
pub events: Vec<&'a Event<'a>>,
pub newly_active: Vec<usize>,
pub newly_inactive: Vec<usize>,
pub is_dirty: bool,
}Expand description
Result of event selection with dirty tracking
Fields§
§events: Vec<&'a Event<'a>>Currently active events
newly_active: Vec<usize>Indices of newly activated events
newly_inactive: Vec<usize>Indices of newly deactivated events
is_dirty: boolWhether the frame needs re-rendering
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ActiveEvents<'a>
impl<'a> RefUnwindSafe for ActiveEvents<'a>
impl<'a> Send for ActiveEvents<'a>
impl<'a> Sync for ActiveEvents<'a>
impl<'a> Unpin for ActiveEvents<'a>
impl<'a> UnsafeUnpin for ActiveEvents<'a>
impl<'a> UnwindSafe for ActiveEvents<'a>
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more