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]
fn is_void_type(&self) -> bool
[src]
fn is_bool_type(&self) -> bool
[src]
fn is_int_type(&self) -> bool
[src]
fn is_float_type(&self) -> bool
[src]
fn is_vector_type(&self) -> bool
[src]
fn is_matrix_type(&self) -> bool
[src]
fn is_image_type(&self) -> bool
[src]
fn is_sampler_type(&self) -> bool
[src]
fn is_sampled_image_type(&self) -> bool
[src]
fn is_array_type(&self) -> bool
[src]
fn is_runtime_array_type(&self) -> bool
[src]
fn is_structure_type(&self) -> bool
[src]
fn is_opaque_type(&self) -> bool
[src]
fn is_pointer_type(&self) -> bool
[src]
fn is_function_type(&self) -> bool
[src]
fn is_event_type(&self) -> bool
[src]
fn is_device_event_type(&self) -> bool
[src]
fn is_reserve_id_type(&self) -> bool
[src]
fn is_queue_type(&self) -> bool
[src]
fn is_pipe_type(&self) -> bool
[src]
fn is_forward_pointer_type(&self) -> bool
[src]
fn is_pipe_storage_type(&self) -> bool
[src]
fn is_named_barrier_type(&self) -> bool
[src]
impl Type
[src]
fn is_numerical_type(&self) -> bool
[src]
fn is_scalar_type(&self) -> bool
[src]
fn is_aggregate_type(&self) -> bool
[src]
fn is_composite_type(&self) -> bool
[src]
Trait Implementations
impl Clone for Type
[src]
fn clone(&self) -> Type
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Type
[src]
impl PartialEq for Type
[src]
fn eq(&self, __arg_0: &Type) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Type) -> bool
[src]
This method tests for !=
.