#[repr(u32)]
#[non_exhaustive]
pub enum membarrier_cmd_flag {
MEMBARRIER_CMD_FLAG_CPU,
}
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
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<membarrier_cmd_flag> for membarrier_cmd_flag
impl PartialEq<membarrier_cmd_flag> for membarrier_cmd_flag
source§fn eq(&self, other: &membarrier_cmd_flag) -> bool
fn eq(&self, other: &membarrier_cmd_flag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.