pub struct CollectionId(pub u32);Expand description
Stable numeric id for a registered collection (assigned at create time, starting at 1).
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for CollectionId
impl Clone for CollectionId
Source§fn clone(&self) -> CollectionId
fn clone(&self) -> CollectionId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CollectionId
impl Debug for CollectionId
Source§impl Hash for CollectionId
impl Hash for CollectionId
Source§impl PartialEq for CollectionId
impl PartialEq for CollectionId
Source§fn eq(&self, other: &CollectionId) -> bool
fn eq(&self, other: &CollectionId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CollectionId
impl Eq for CollectionId
impl StructuralPartialEq for CollectionId
Auto Trait Implementations§
impl Freeze for CollectionId
impl RefUnwindSafe for CollectionId
impl Send for CollectionId
impl Sync for CollectionId
impl Unpin for CollectionId
impl UnsafeUnpin for CollectionId
impl UnwindSafe for CollectionId
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