pub enum SafetyMode {
Safe,
Unsafe,
}Variants§
Trait Implementations§
Source§impl Clone for SafetyMode
impl Clone for SafetyMode
Source§fn clone(&self) -> SafetyMode
fn clone(&self) -> SafetyMode
Returns a duplicate of the value. Read more
1.0.0 · 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 SafetyMode
impl Debug for SafetyMode
Source§impl PartialEq for SafetyMode
impl PartialEq for SafetyMode
impl Copy for SafetyMode
impl StructuralPartialEq for SafetyMode
Auto Trait Implementations§
impl Freeze for SafetyMode
impl RefUnwindSafe for SafetyMode
impl Send for SafetyMode
impl Sync for SafetyMode
impl Unpin for SafetyMode
impl UnwindSafe for SafetyMode
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