Struct bones_lib::ecs::prelude::bones_schema::Unsafe
pub struct Unsafe<T>(/* private fields */);
Expand description
A wrapper struct that marks it unsafe to both create and access the inner value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Unsafe<T>where
T: Freeze,
impl<T> RefUnwindSafe for Unsafe<T>where
T: RefUnwindSafe,
impl<T> Send for Unsafe<T>where
T: Send,
impl<T> Sync for Unsafe<T>where
T: Sync,
impl<T> Unpin for Unsafe<T>where
T: Unpin,
impl<T> UnwindSafe for Unsafe<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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)