pub struct EventTypeId(/* private fields */);Expand description
A compiler-assigned stable event type identifier.
Implementations§
Source§impl EventTypeId
impl EventTypeId
Source§impl EventTypeId
impl EventTypeId
Sourcepub const fn checked_next(self) -> Option<Self>
pub const fn checked_next(self) -> Option<Self>
Returns the next value, or None when the allocation space is exhausted.
Trait Implementations§
Source§impl Clone for EventTypeId
impl Clone for EventTypeId
impl Copy for EventTypeId
Source§impl Debug for EventTypeId
impl Debug for EventTypeId
Source§impl Display for EventTypeId
impl Display for EventTypeId
impl Eq for EventTypeId
Source§impl From<EventTypeId> for u32
impl From<EventTypeId> for u32
Source§fn from(value: EventTypeId) -> Self
fn from(value: EventTypeId) -> Self
Converts to this type from the input type.
Source§impl Hash for EventTypeId
impl Hash for EventTypeId
Source§impl Ord for EventTypeId
impl Ord for EventTypeId
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 EventTypeId
impl PartialEq for EventTypeId
Source§impl PartialOrd for EventTypeId
impl PartialOrd for EventTypeId
impl StructuralPartialEq for EventTypeId
Auto Trait Implementations§
impl Freeze for EventTypeId
impl RefUnwindSafe for EventTypeId
impl Send for EventTypeId
impl Sync for EventTypeId
impl Unpin for EventTypeId
impl UnsafeUnpin for EventTypeId
impl UnwindSafe for EventTypeId
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