#[repr(transparent)]pub struct RawKey(u64);Expand description
The key used in IdTypeMap, which is a combination of an Id and a TypeId.
This key can be used to remove or access values in the IdTypeMap without
knowledge of the TypeId T that is required for other accessors.
RawKeys make no guarantees about layout or their ability to be persisted.
They only produce deterministic results if they are used with the map
they were initially obtained from. Using them on other instances of IdTypeMap
may produce unexpected behavior.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for RawKey
impl Eq for RawKey
impl IsEnabled for RawKey
impl StructuralPartialEq for RawKey
Auto Trait Implementations§
impl Freeze for RawKey
impl RefUnwindSafe for RawKey
impl Send for RawKey
impl Sync for RawKey
impl Unpin for RawKey
impl UnwindSafe for RawKey
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