pub enum SafetyAssertionMode {
None,
Skip,
NotInitialized,
InMainThread,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for SafetyAssertionMode
impl Clone for SafetyAssertionMode
source§fn clone(&self) -> SafetyAssertionMode
fn clone(&self) -> SafetyAssertionMode
Returns a copy 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 SafetyAssertionMode
impl Debug for SafetyAssertionMode
source§impl Default for SafetyAssertionMode
impl Default for SafetyAssertionMode
source§fn default() -> SafetyAssertionMode
fn default() -> SafetyAssertionMode
Returns the “default value” for a type. Read more
source§impl Display for SafetyAssertionMode
impl Display for SafetyAssertionMode
source§impl FromStr for SafetyAssertionMode
impl FromStr for SafetyAssertionMode
source§impl PartialEq for SafetyAssertionMode
impl PartialEq for SafetyAssertionMode
impl Copy for SafetyAssertionMode
impl Eq for SafetyAssertionMode
impl StructuralPartialEq for SafetyAssertionMode
Auto Trait Implementations§
impl Freeze for SafetyAssertionMode
impl RefUnwindSafe for SafetyAssertionMode
impl Send for SafetyAssertionMode
impl Sync for SafetyAssertionMode
impl Unpin for SafetyAssertionMode
impl UnwindSafe for SafetyAssertionMode
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.