pub struct CallbackId(pub u64);Expand description
A handle identifying one registered callback, returned by every on_* registration method.
IDs are unique within an Engine and are never reused.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for CallbackId
impl Clone for CallbackId
impl Copy for CallbackId
Source§impl Debug for CallbackId
impl Debug for CallbackId
impl Eq for CallbackId
Source§impl Hash for CallbackId
impl Hash for CallbackId
Source§impl Ord for CallbackId
impl Ord for CallbackId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CallbackId
impl PartialEq for CallbackId
Source§impl PartialOrd for CallbackId
impl PartialOrd for CallbackId
impl StructuralPartialEq for CallbackId
Auto Trait Implementations§
impl Freeze for CallbackId
impl RefUnwindSafe for CallbackId
impl Send for CallbackId
impl Sync for CallbackId
impl Unpin for CallbackId
impl UnsafeUnpin for CallbackId
impl UnwindSafe for CallbackId
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