[−][src]Enum rspirv::sr::Type
Variants
Fields of Float
width: u32
Fields of Image
sampled_type: Token<Type>
dim: Dim
depth: u32
arrayed: u32
ms: u32
sampled: u32
image_format: ImageFormat
access_qualifier: Option<AccessQualifier>
Fields of Struct
member_0_type_member_1_type: Vec<StructMember>
Fields of Opaque
type_name: String
Fields of Pointer
storage_class: StorageClass
ty: Word
Fields of Pipe
qualifier: AccessQualifier
Fields of ForwardPointer
pointer_type: Token<Type>
storage_class: StorageClass
Methods
impl Type
[src]
pub fn is_numerical_type(&self) -> bool
[src]
pub fn is_scalar_type(&self) -> bool
[src]
pub fn is_aggregate_type(&self) -> bool
[src]
pub fn is_composite_type(&self) -> bool
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,