#[repr(u16)]pub enum Shareability {
NonShareable = 0,
Outer = 2,
Inner = 3,
}Expand description
Shareability attribute of a memory region. Only valid for normal memory.
Variants§
Trait Implementations§
Source§fn clone(&self) -> Shareability
fn clone(&self) -> Shareability
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§fn default() -> Shareability
fn default() -> Shareability
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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