#[non_exhaustive]#[repr(u32)]pub enum membarrier_cmd_flag {
MEMBARRIER_CMD_FLAG_CPU = 1,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MEMBARRIER_CMD_FLAG_CPU = 1
Trait Implementations§
Source§impl Clone for membarrier_cmd_flag
impl Clone for membarrier_cmd_flag
Source§fn clone(&self) -> membarrier_cmd_flag
fn clone(&self) -> membarrier_cmd_flag
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 membarrier_cmd_flag
impl Debug for membarrier_cmd_flag
Source§impl Hash for membarrier_cmd_flag
impl Hash for membarrier_cmd_flag
Source§impl PartialEq for membarrier_cmd_flag
impl PartialEq for membarrier_cmd_flag
impl Copy for membarrier_cmd_flag
impl Eq for membarrier_cmd_flag
impl StructuralPartialEq for membarrier_cmd_flag
Auto Trait Implementations§
impl Freeze for membarrier_cmd_flag
impl RefUnwindSafe for membarrier_cmd_flag
impl Send for membarrier_cmd_flag
impl Sync for membarrier_cmd_flag
impl Unpin for membarrier_cmd_flag
impl UnwindSafe for membarrier_cmd_flag
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