pub enum Safety {
Safe,
Unsafe,
}🔬This is a nightly-only experimental API. (
custom_mir)Variants§
Safe
🔬This is a nightly-only experimental API. (
custom_mir)Unsafe
🔬This is a nightly-only experimental API. (
custom_mir)Auto Trait Implementations§
impl Freeze for Safety
impl RefUnwindSafe for Safety
impl Send for Safety
impl Sync for Safety
impl Unpin for Safety
impl UnsafeUnpin for Safety
impl UnwindSafe for Safety
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