pub enum GlobalMutability {
Const,
Volatile,
}Expand description
Mutability qualifiers applicable to globals.
Variants§
Trait Implementations§
Source§impl Clone for GlobalMutability
impl Clone for GlobalMutability
Source§fn clone(&self) -> GlobalMutability
fn clone(&self) -> GlobalMutability
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 GlobalMutability
impl Debug for GlobalMutability
Source§impl Display for GlobalMutability
impl Display for GlobalMutability
Source§impl PartialEq for GlobalMutability
impl PartialEq for GlobalMutability
impl Copy for GlobalMutability
impl Eq for GlobalMutability
impl StructuralPartialEq for GlobalMutability
Auto Trait Implementations§
impl Freeze for GlobalMutability
impl RefUnwindSafe for GlobalMutability
impl Send for GlobalMutability
impl Sync for GlobalMutability
impl Unpin for GlobalMutability
impl UnwindSafe for GlobalMutability
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