pub enum CopyVolatileType {
AllCopyable,
SubstituteOnly,
}Expand description
The type of volatile copy to perform.
Variants§
Trait Implementations§
Source§impl Clone for CopyVolatileType
impl Clone for CopyVolatileType
Source§fn clone(&self) -> CopyVolatileType
fn clone(&self) -> CopyVolatileType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CopyVolatileType
Source§impl Debug for CopyVolatileType
impl Debug for CopyVolatileType
Source§impl Default for CopyVolatileType
impl Default for CopyVolatileType
Source§fn default() -> CopyVolatileType
fn default() -> CopyVolatileType
Returns the “default value” for a type. Read more
impl Eq for CopyVolatileType
Source§impl PartialEq for CopyVolatileType
impl PartialEq for CopyVolatileType
Source§fn eq(&self, other: &CopyVolatileType) -> bool
fn eq(&self, other: &CopyVolatileType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CopyVolatileType
Auto Trait Implementations§
impl Freeze for CopyVolatileType
impl RefUnwindSafe for CopyVolatileType
impl Send for CopyVolatileType
impl Sync for CopyVolatileType
impl Unpin for CopyVolatileType
impl UnsafeUnpin for CopyVolatileType
impl UnwindSafe for CopyVolatileType
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
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<'a, 'b, T> UnsafelyDetachBorrow<'a, 'b, T> for T
impl<'a, 'b, T> UnsafelyDetachBorrow<'a, 'b, T> for T
Source§unsafe fn unsafely_detach_borrow(&'a self) -> &'b T
unsafe fn unsafely_detach_borrow(&'a self) -> &'b T
Unsafely detaches an immutable borrow, attaching a new lifetime. Read more
Source§impl<'a, 'b, T> UnsafelyDetachBorrowMut<'a, 'b, T> for T
impl<'a, 'b, T> UnsafelyDetachBorrowMut<'a, 'b, T> for T
Source§unsafe fn unsafely_detach_borrow_mut(&'a mut self) -> &'b mut T
unsafe fn unsafely_detach_borrow_mut(&'a mut self) -> &'b mut T
Unsafely detaches a mutable borrow, attaching a new lifetime. Read more