#[repr(u8)]pub enum Shareability {
Non = 0,
Outer = 2,
Inner = 3,
}Expand description
Allowed Shareability attributes.
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 cmp(&self, other: &Shareability) -> Ordering
fn cmp(&self, other: &Shareability) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§type Error = TryFromPrimitiveError<Shareability>
type Error = TryFromPrimitiveError<Shareability>
The type returned in the event of a conversion error.
const NAME: &'static str = "Shareability"
type Primitive = u8
type Error = TryFromPrimitiveError<Shareability>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
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