#[repr(transparent)]pub struct ReservationType(pub u8);
Tuple Fields§
§0: u8
Implementations§
Source§impl ReservationType
impl ReservationType
pub const WRITE_EXCLUSIVE: ReservationType
pub const EXCLUSIVE: ReservationType
pub const WRITE_EXCLUSIVE_REGISTRANTS: ReservationType
pub const EXCLUSIVE_REGISTRANTS: ReservationType
pub const WRITE_EXCLUSIVE_ALL_REGISTRANTS: ReservationType
pub const EXCLUSIVE_ALL_REGISTRANTS: ReservationType
Trait Implementations§
Source§impl Clone for ReservationType
impl Clone for ReservationType
Source§fn clone(&self) -> ReservationType
fn clone(&self) -> ReservationType
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 ReservationType
impl Debug for ReservationType
Source§impl Hash for ReservationType
impl Hash for ReservationType
Source§impl Ord for ReservationType
impl Ord for ReservationType
Source§fn cmp(&self, other: &ReservationType) -> Ordering
fn cmp(&self, other: &ReservationType) -> 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§impl PartialEq for ReservationType
impl PartialEq for ReservationType
Source§impl PartialOrd for ReservationType
impl PartialOrd for ReservationType
impl Copy for ReservationType
impl Eq for ReservationType
impl StructuralPartialEq for ReservationType
Auto Trait Implementations§
impl Freeze for ReservationType
impl RefUnwindSafe for ReservationType
impl Send for ReservationType
impl Sync for ReservationType
impl Unpin for ReservationType
impl UnwindSafe for ReservationType
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