Struct spirv_utils::desc::MemoryOrdering [] [src]

pub struct MemoryOrdering(_);

Methods

impl MemoryOrdering
[src]

fn empty() -> MemoryOrdering

fn all() -> MemoryOrdering

fn is_empty(&self) -> bool

fn contains(&self, val: MemoryOrdering) -> bool

fn bits(&self) -> u32

fn insert(&mut self, val: MemoryOrdering)

fn count(&self) -> u32

Trait Implementations

impl Hash for MemoryOrdering
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl PartialEq for MemoryOrdering
[src]

fn eq(&self, __arg_0: &MemoryOrdering) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &MemoryOrdering) -> bool

This method tests for !=.

impl Clone for MemoryOrdering
[src]

fn clone(&self) -> MemoryOrdering

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for MemoryOrdering
[src]

impl From<u32> for MemoryOrdering
[src]

fn from(val: u32) -> MemoryOrdering

Performs the conversion.

impl Debug for MemoryOrdering
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.