Struct spirv_utils::desc::Id
[−]
[src]
pub struct Id(pub u32);
Methods
impl Id[src]
fn is_valid(self) -> bool
fn to_type_id(self) -> TypeId
fn to_value_id(self) -> ValueId
fn to_result_id(self) -> ResultId
Trait Implementations
impl Hash for Id[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: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Eq for Id[src]
impl PartialEq for Id[src]
fn eq(&self, __arg_0: &Id) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Id) -> bool
This method tests for !=.
impl Clone for Id[src]
fn clone(&self) -> Id
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