#[repr(u32)]pub enum AccessQualifier {
ReadOnly = 0,
WriteOnly = 1,
ReadWrite = 2,
}
Variants§
Implementations§
Source§impl AccessQualifier
impl AccessQualifier
pub fn from(val: u32) -> Option<AccessQualifier>
Trait Implementations§
Source§impl Clone for AccessQualifier
impl Clone for AccessQualifier
Source§fn clone(&self) -> AccessQualifier
fn clone(&self) -> AccessQualifier
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 AccessQualifier
impl Debug for AccessQualifier
Source§impl Hash for AccessQualifier
impl Hash for AccessQualifier
Source§impl PartialEq for AccessQualifier
impl PartialEq for AccessQualifier
impl Copy for AccessQualifier
impl StructuralPartialEq for AccessQualifier
Auto Trait Implementations§
impl Freeze for AccessQualifier
impl RefUnwindSafe for AccessQualifier
impl Send for AccessQualifier
impl Sync for AccessQualifier
impl Unpin for AccessQualifier
impl UnwindSafe for AccessQualifier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)