pub enum Event<NI> {
Node(NodeEvent<NI>),
Edge(EdgeEvent<NI>),
}Expand description
An interaction has caused some event to occur.
Variants§
Trait Implementations§
impl<NI> StructuralPartialEq for Event<NI>
Auto Trait Implementations§
impl<NI> Freeze for Event<NI>where
NI: Freeze,
impl<NI> RefUnwindSafe for Event<NI>where
NI: RefUnwindSafe,
impl<NI> Send for Event<NI>where
NI: Send,
impl<NI> Sync for Event<NI>where
NI: Sync,
impl<NI> Unpin for Event<NI>where
NI: Unpin,
impl<NI> UnwindSafe for Event<NI>where
NI: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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