Struct rspirv::sr::Type [−][src]
pub struct Type { /* fields omitted */ }
The class to represent a SPIR-V type.
Derived types hold TypeToken
s of their base types instead of direct
references or Rc
references, because of the difficulty or impossibility
of labelling explicit lifetimes or back references.
Methods
impl Type
[src]
impl Type
pub fn is_void_type(&self) -> bool
[src]
pub fn is_void_type(&self) -> bool
pub fn is_bool_type(&self) -> bool
[src]
pub fn is_bool_type(&self) -> bool
pub fn is_int_type(&self) -> bool
[src]
pub fn is_int_type(&self) -> bool
pub fn is_float_type(&self) -> bool
[src]
pub fn is_float_type(&self) -> bool
pub fn is_vector_type(&self) -> bool
[src]
pub fn is_vector_type(&self) -> bool
pub fn is_matrix_type(&self) -> bool
[src]
pub fn is_matrix_type(&self) -> bool
pub fn is_image_type(&self) -> bool
[src]
pub fn is_image_type(&self) -> bool
pub fn is_sampler_type(&self) -> bool
[src]
pub fn is_sampler_type(&self) -> bool
pub fn is_sampled_image_type(&self) -> bool
[src]
pub fn is_sampled_image_type(&self) -> bool
pub fn is_array_type(&self) -> bool
[src]
pub fn is_array_type(&self) -> bool
pub fn is_runtime_array_type(&self) -> bool
[src]
pub fn is_runtime_array_type(&self) -> bool
pub fn is_structure_type(&self) -> bool
[src]
pub fn is_structure_type(&self) -> bool
pub fn is_opaque_type(&self) -> bool
[src]
pub fn is_opaque_type(&self) -> bool
pub fn is_pointer_type(&self) -> bool
[src]
pub fn is_pointer_type(&self) -> bool
pub fn is_function_type(&self) -> bool
[src]
pub fn is_function_type(&self) -> bool
pub fn is_event_type(&self) -> bool
[src]
pub fn is_event_type(&self) -> bool
pub fn is_device_event_type(&self) -> bool
[src]
pub fn is_device_event_type(&self) -> bool
pub fn is_reserve_id_type(&self) -> bool
[src]
pub fn is_reserve_id_type(&self) -> bool
pub fn is_queue_type(&self) -> bool
[src]
pub fn is_queue_type(&self) -> bool
pub fn is_pipe_type(&self) -> bool
[src]
pub fn is_pipe_type(&self) -> bool
pub fn is_forward_pointer_type(&self) -> bool
[src]
pub fn is_forward_pointer_type(&self) -> bool
pub fn is_pipe_storage_type(&self) -> bool
[src]
pub fn is_pipe_storage_type(&self) -> bool
pub fn is_named_barrier_type(&self) -> bool
[src]
pub fn is_named_barrier_type(&self) -> bool
impl Type
[src]
impl Type
pub fn is_numerical_type(&self) -> bool
[src]
pub fn is_numerical_type(&self) -> bool
pub fn is_scalar_type(&self) -> bool
[src]
pub fn is_scalar_type(&self) -> bool
pub fn is_aggregate_type(&self) -> bool
[src]
pub fn is_aggregate_type(&self) -> bool
pub fn is_composite_type(&self) -> bool
[src]
pub fn is_composite_type(&self) -> bool
Trait Implementations
impl Clone for Type
[src]
impl Clone for Type
fn clone(&self) -> Type
[src]
fn clone(&self) -> Type
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Type
[src]
impl Debug for Type
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Type
[src]
impl PartialEq for Type
fn eq(&self, other: &Type) -> bool
[src]
fn eq(&self, other: &Type) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Type) -> bool
[src]
fn ne(&self, other: &Type) -> bool
This method tests for !=
.
impl Eq for Type
[src]
impl Eq for Type