Enum wgsl_bindgen::WgslType
source · pub enum WgslType {
Show 30 variants
Vec2i,
Vec3i,
Vec4i,
Vec2u,
Vec3u,
Vec4u,
Vec2f,
Vec3f,
Vec4f,
Vec2h,
Vec3h,
Vec4h,
Mat2x2f,
Mat2x3f,
Mat2x4f,
Mat3x2f,
Mat3x3f,
Mat3x4f,
Mat4x2f,
Mat4x3f,
Mat4x4f,
Mat2x2h,
Mat2x3h,
Mat2x4h,
Mat3x2h,
Mat3x3h,
Mat3x4h,
Mat4x2h,
Mat4x3h,
Mat4x4h,
}Expand description
The WgslType enum represents various WGSL types, such as vectors and matrices.
See spec
Variants§
Vec2i
Vec3i
Vec4i
Vec2u
Vec3u
Vec4u
Vec2f
Vec3f
Vec4f
Vec2h
Vec3h
Vec4h
Mat2x2f
Mat2x3f
Mat2x4f
Mat3x2f
Mat3x3f
Mat3x4f
Mat4x2f
Mat4x3f
Mat4x4f
Mat2x2h
Mat2x3h
Mat2x4h
Mat3x2h
Mat3x3h
Mat3x4h
Mat4x2h
Mat4x3h
Mat4x4h
Implementations§
Trait Implementations§
source§impl IntoEnumIterator for WgslType
impl IntoEnumIterator for WgslType
type Iterator = WgslTypeIter
fn iter() -> WgslTypeIter ⓘ
source§impl PartialEq for WgslType
impl PartialEq for WgslType
impl Copy for WgslType
impl Eq for WgslType
impl StructuralPartialEq for WgslType
Auto Trait Implementations§
impl RefUnwindSafe for WgslType
impl Send for WgslType
impl Sync for WgslType
impl Unpin for WgslType
impl UnwindSafe for WgslType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.