Struct wasefire_board_api::Id
source · pub struct Id<T: Support<usize> + ?Sized> { /* private fields */ }
Expand description
Valid identifier for a countable API.
Implementations§
Methods from Deref<Target = usize>§
pub const MIN: usize = 0usize
pub const MAX: usize = 4_294_967_295usize
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl<T: Support<usize> + ?Sized> Ord for Id<T>
impl<T: Support<usize> + ?Sized> Ord for Id<T>
source§impl<T: Support<usize> + ?Sized> PartialEq for Id<T>
impl<T: Support<usize> + ?Sized> PartialEq for Id<T>
source§impl<T: Support<usize> + ?Sized> PartialOrd for Id<T>
impl<T: Support<usize> + ?Sized> PartialOrd for Id<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T: Support<usize> + ?Sized> Copy for Id<T>
impl<T: Support<usize> + ?Sized> Eq for Id<T>
Auto Trait Implementations§
impl<T: ?Sized> RefUnwindSafe for Id<T>where
T: RefUnwindSafe,
impl<T: ?Sized> Send for Id<T>where
T: Send,
impl<T: ?Sized> Sync for Id<T>where
T: Sync,
impl<T: ?Sized> Unpin for Id<T>where
T: Unpin,
impl<T: ?Sized> UnwindSafe for Id<T>where
T: 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