#[non_exhaustive]pub struct Unchecked;Expand description
An unchecked ID that leaves all the invariants up to the user. This is zero-cost, but
unsafe to use.
Implementations§
Trait Implementations§
impl Copy for Unchecked
impl Eq for Unchecked
impl Id for Unchecked
impl StructuralPartialEq for Unchecked
Auto Trait Implementations§
impl Freeze for Unchecked
impl RefUnwindSafe for Unchecked
impl Send for Unchecked
impl Sync for Unchecked
impl Unpin for Unchecked
impl UnwindSafe for Unchecked
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)