Enum spirv_utils::desc::Scope [] [src]

pub enum Scope {
    CrossDevice,
    Device,
    Workgroup,
    Subgroup,
    Invocation,
}

Variants

CrossDevice
Device
Workgroup
Subgroup
Invocation

Methods

impl Scope

fn from(val: u32) -> Option<Scope>

Trait Implementations

Derived Implementations

impl Hash for Scope

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

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

impl PartialEq for Scope

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

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

impl Debug for Scope

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

impl Clone for Scope

fn clone(&self) -> Scope

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

impl Copy for Scope