Enum glsl::syntax::TypeSpecifierNonArray
source · pub enum TypeSpecifierNonArray {
Show 115 variants
Void,
Bool,
Int,
UInt,
Float,
Double,
Vec2,
Vec3,
Vec4,
DVec2,
DVec3,
DVec4,
BVec2,
BVec3,
BVec4,
IVec2,
IVec3,
IVec4,
UVec2,
UVec3,
UVec4,
Mat2,
Mat3,
Mat4,
Mat23,
Mat24,
Mat32,
Mat34,
Mat42,
Mat43,
DMat2,
DMat3,
DMat4,
DMat23,
DMat24,
DMat32,
DMat34,
DMat42,
DMat43,
Sampler1D,
Image1D,
Sampler2D,
Image2D,
Sampler3D,
Image3D,
SamplerCube,
ImageCube,
Sampler2DRect,
Image2DRect,
Sampler1DArray,
Image1DArray,
Sampler2DArray,
Image2DArray,
SamplerBuffer,
ImageBuffer,
Sampler2DMS,
Image2DMS,
Sampler2DMSArray,
Image2DMSArray,
SamplerCubeArray,
ImageCubeArray,
Sampler1DShadow,
Sampler2DShadow,
Sampler2DRectShadow,
Sampler1DArrayShadow,
Sampler2DArrayShadow,
SamplerCubeShadow,
SamplerCubeArrayShadow,
ISampler1D,
IImage1D,
ISampler2D,
IImage2D,
ISampler3D,
IImage3D,
ISamplerCube,
IImageCube,
ISampler2DRect,
IImage2DRect,
ISampler1DArray,
IImage1DArray,
ISampler2DArray,
IImage2DArray,
ISamplerBuffer,
IImageBuffer,
ISampler2DMS,
IImage2DMS,
ISampler2DMSArray,
IImage2DMSArray,
ISamplerCubeArray,
IImageCubeArray,
AtomicUInt,
USampler1D,
UImage1D,
USampler2D,
UImage2D,
USampler3D,
UImage3D,
USamplerCube,
UImageCube,
USampler2DRect,
UImage2DRect,
USampler1DArray,
UImage1DArray,
USampler2DArray,
UImage2DArray,
USamplerBuffer,
UImageBuffer,
USampler2DMS,
UImage2DMS,
USampler2DMSArray,
UImage2DMSArray,
USamplerCubeArray,
UImageCubeArray,
Struct(StructSpecifier),
TypeName(TypeName),
}
Expand description
Type specifier (non-array).
Variants§
Void
Bool
Int
UInt
Float
Double
Vec2
Vec3
Vec4
DVec2
DVec3
DVec4
BVec2
BVec3
BVec4
IVec2
IVec3
IVec4
UVec2
UVec3
UVec4
Mat2
Mat3
Mat4
Mat23
Mat24
Mat32
Mat34
Mat42
Mat43
DMat2
DMat3
DMat4
DMat23
DMat24
DMat32
DMat34
DMat42
DMat43
Sampler1D
Image1D
Sampler2D
Image2D
Sampler3D
Image3D
SamplerCube
ImageCube
Sampler2DRect
Image2DRect
Sampler1DArray
Image1DArray
Sampler2DArray
Image2DArray
SamplerBuffer
ImageBuffer
Sampler2DMS
Image2DMS
Sampler2DMSArray
Image2DMSArray
SamplerCubeArray
ImageCubeArray
Sampler1DShadow
Sampler2DShadow
Sampler2DRectShadow
Sampler1DArrayShadow
Sampler2DArrayShadow
SamplerCubeShadow
SamplerCubeArrayShadow
ISampler1D
IImage1D
ISampler2D
IImage2D
ISampler3D
IImage3D
ISamplerCube
IImageCube
ISampler2DRect
IImage2DRect
ISampler1DArray
IImage1DArray
ISampler2DArray
IImage2DArray
ISamplerBuffer
IImageBuffer
ISampler2DMS
IImage2DMS
ISampler2DMSArray
IImage2DMSArray
ISamplerCubeArray
IImageCubeArray
AtomicUInt
USampler1D
UImage1D
USampler2D
UImage2D
USampler3D
UImage3D
USamplerCube
UImageCube
USampler2DRect
UImage2DRect
USampler1DArray
UImage1DArray
USampler2DArray
UImage2DArray
USamplerBuffer
UImageBuffer
USampler2DMS
UImage2DMS
USampler2DMSArray
UImage2DMSArray
USamplerCubeArray
UImageCubeArray
Struct(StructSpecifier)
TypeName(TypeName)
Trait Implementations§
source§impl Clone for TypeSpecifierNonArray
impl Clone for TypeSpecifierNonArray
source§fn clone(&self) -> TypeSpecifierNonArray
fn clone(&self) -> TypeSpecifierNonArray
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TypeSpecifierNonArray
impl Debug for TypeSpecifierNonArray
source§impl From<TypeSpecifierNonArray> for FullySpecifiedType
impl From<TypeSpecifierNonArray> for FullySpecifiedType
source§fn from(ty: TypeSpecifierNonArray) -> Self
fn from(ty: TypeSpecifierNonArray) -> Self
Converts to this type from the input type.
source§impl From<TypeSpecifierNonArray> for TypeSpecifier
impl From<TypeSpecifierNonArray> for TypeSpecifier
source§fn from(ty: TypeSpecifierNonArray) -> Self
fn from(ty: TypeSpecifierNonArray) -> Self
Converts to this type from the input type.
source§impl Host for TypeSpecifierNonArray
impl Host for TypeSpecifierNonArray
source§impl HostMut for TypeSpecifierNonArray
impl HostMut for TypeSpecifierNonArray
source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
Visit an AST node.
source§impl Parse for TypeSpecifierNonArray
impl Parse for TypeSpecifierNonArray
source§impl PartialEq for TypeSpecifierNonArray
impl PartialEq for TypeSpecifierNonArray
source§fn eq(&self, other: &TypeSpecifierNonArray) -> bool
fn eq(&self, other: &TypeSpecifierNonArray) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TypeSpecifierNonArray
Auto Trait Implementations§
impl RefUnwindSafe for TypeSpecifierNonArray
impl Send for TypeSpecifierNonArray
impl Sync for TypeSpecifierNonArray
impl Unpin for TypeSpecifierNonArray
impl UnwindSafe for TypeSpecifierNonArray
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