pub enum Type {
U8,
U16,
U32,
I8,
I16,
I32,
F16,
F32,
}Expand description
Types used by the GPU.
Variants§
U8
8bits unsigned integer.
U16
16bits unsigned integer.
U32
32bits unsigned integer.
I8
8bits signed integer.
I16
16bits signed integer.
I32
32bits signed integer.
F16
16bits float.
F32
32bits float.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more