Struct calloop::RegistrationToken
source · [−]pub struct RegistrationToken { /* private fields */ }Expand description
A token representing a registration in the EventLoop.
This token is given to you by the EventLoop when an EventSource is inserted or
a Dispatcher is registered. You can use it to disable,
enable, update`,
remove or kill it.
Trait Implementations
sourceimpl Clone for RegistrationToken
impl Clone for RegistrationToken
sourcefn clone(&self) -> RegistrationToken
fn clone(&self) -> RegistrationToken
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RegistrationToken
impl Debug for RegistrationToken
sourceimpl PartialEq<RegistrationToken> for RegistrationToken
impl PartialEq<RegistrationToken> for RegistrationToken
sourcefn eq(&self, other: &RegistrationToken) -> bool
fn eq(&self, other: &RegistrationToken) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RegistrationToken) -> bool
fn ne(&self, other: &RegistrationToken) -> bool
This method tests for !=.
impl Copy for RegistrationToken
impl StructuralPartialEq for RegistrationToken
Auto Trait Implementations
impl RefUnwindSafe for RegistrationToken
impl Send for RegistrationToken
impl Sync for RegistrationToken
impl Unpin for RegistrationToken
impl UnwindSafe for RegistrationToken
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more