Enum glsl_lang::ast::TypeSpecifierNonArrayData
source · pub enum TypeSpecifierNonArrayData {
Show 151 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,
Mat22,
Mat23,
Mat24,
Mat32,
Mat33,
Mat34,
Mat42,
Mat43,
Mat44,
DMat2,
DMat3,
DMat4,
DMat22,
DMat23,
DMat24,
DMat32,
DMat33,
DMat34,
DMat42,
DMat43,
DMat44,
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,
Texture1D,
Texture2D,
Texture3D,
TextureCube,
Texture2DRect,
Texture1DArray,
Texture2DArray,
TextureBuffer,
Texture2DMs,
Texture2DMsArray,
TextureCubeArray,
ITexture1D,
ITexture2D,
ITexture3D,
ITextureCube,
ITexture2DRect,
ITexture1DArray,
ITexture2DArray,
ITextureBuffer,
ITexture2DMs,
ITexture2DMsArray,
ITextureCubeArray,
Sampler,
SamplerShadow,
SubpassInput,
ISubpassInput,
USubpassInput,
SubpassInputMs,
ISubpassInputMs,
USubpassInputMs,
Struct(Node<StructSpecifierData>),
TypeName(Node<TypeNameData>),
}
Expand description
Type specifier (non-array).
Variants§
Void
void
type specifier
Bool
bool
type specifier
Int
int
type specifier
UInt
uint
type specifier
Float
float
type specifier
Double
double
type specifier
Vec2
vec2
type specifier
Vec3
vec3
type specifier
Vec4
vec4
type specifier
DVec2
dvec2
type specifier
DVec3
dvec3
type specifier
DVec4
dvec4
type specifier
BVec2
bvec2
type specifier
BVec3
bvec3
type specifier
BVec4
bvec4
type specifier
IVec2
ivec2
type specifier
IVec3
ivec3
type specifier
IVec4
ivec4
type specifier
UVec2
uvec2
type specifier
UVec3
uvec3
type specifier
UVec4
uvec4
type specifier
Mat2
mat2
type specifier
Mat3
mat3
type specifier
Mat4
mat4
type specifier
Mat22
mat2x2
type specifier
Mat23
mat2x3
type specifier
Mat24
mat2x4
type specifier
Mat32
mat3x2
type specifier
Mat33
mat3x3
type specifier
Mat34
mat3x4
type specifier
Mat42
mat4x2
type specifier
Mat43
mat4x3
type specifier
Mat44
mat4x4
type specifier
DMat2
dmat2
type specifier
DMat3
dmat3
type specifier
DMat4
dmat4
type specifier
DMat22
dmat2x2
type specifier
DMat23
dmat2x3
type specifier
DMat24
dmat2x4
type specifier
DMat32
dmat3x2
type specifier
DMat33
dmat3x3
type specifier
DMat34
dmat3x4
type specifier
DMat42
dmat4x2
type specifier
DMat43
dmat4x3
type specifier
DMat44
dmat4x4
type specifier
Sampler1D
sampler1D
type specifier
Image1D
image1D
type specifier
Sampler2D
sampler2D
type specifier
Image2D
image2D
type specifier
Sampler3D
sampler3D
type specifier
Image3D
image3D
type specifier
SamplerCube
samplerCube
type specifier
ImageCube
imageCube
type specifier
Sampler2DRect
sampler2DRect
type specifier
Image2DRect
image2DRect
type specifier
Sampler1DArray
sampler1DArray
type specifier
Image1DArray
image1DArray
type specifier
Sampler2DArray
sampler2DArray
type specifier
Image2DArray
image2DArray
type specifier
SamplerBuffer
samplerBuffer
type specifier
ImageBuffer
imageBuffer
type specifier
Sampler2DMs
sampler2DMS
type specifier
Image2DMs
image2DMS
type specifier
Sampler2DMsArray
sampler2DMSArray
type specifier
Image2DMsArray
image2DMSArray
type specifier
SamplerCubeArray
samplerCubeArray
type specifier
ImageCubeArray
imageCubeArray
type specifier
Sampler1DShadow
sampler1DShadow
type specifier
Sampler2DShadow
sampler2DShadow
type specifier
Sampler2DRectShadow
sampler2DRectShadow
type specifier
Sampler1DArrayShadow
sampler1DArrayShadow
type specifier
Sampler2DArrayShadow
sampler2DArrayShadow
type specifier
SamplerCubeShadow
samplerCubeShadow
type specifier
SamplerCubeArrayShadow
samplerCubeArrayShadow
type specifier
ISampler1D
isampler1D
type specifier
IImage1D
iimage1D
type specifier
ISampler2D
isampler2D
type specifier
IImage2D
iimage2D
type specifier
ISampler3D
isampler3D
type specifier
IImage3D
iimage3D
type specifier
ISamplerCube
isamplerCube
type specifier
IImageCube
iimageCube
type specifier
ISampler2DRect
isampler2DRect
type specifier
IImage2DRect
iimage2DRect
type specifier
ISampler1DArray
isampler1DArray
type specifier
IImage1DArray
iimage1DArray
type specifier
ISampler2DArray
isampler2DArray
type specifier
IImage2DArray
iimage2DArray
type specifier
ISamplerBuffer
isamplerBuffer
type specifier
IImageBuffer
iimageBuffer
type specifier
ISampler2DMs
isampler2DMS
type specifier
IImage2DMs
iimage2DMS
type specifier
ISampler2DMsArray
isampler2DMSArray
type specifier
IImage2DMsArray
iimage2DMSArray
type specifier
ISamplerCubeArray
isamplerCubeArray
type specifier
IImageCubeArray
iimageCubeArray
type specifier
AtomicUInt
atomic_uint
type specifier
USampler1D
usampler1D
type specifier
UImage1D
uimage1D
type specifier
USampler2D
usampler2D
type specifier
UImage2D
uimage2D
type specifier
USampler3D
usampler3D
type specifier
UImage3D
uimage3D
type specifier
USamplerCube
usamplerCube
type specifier
UImageCube
uimageCube
type specifier
USampler2DRect
usampler2DRect
type specifier
UImage2DRect
uimage2DRect
type specifier
USampler1DArray
usampler1DArray
type specifier
UImage1DArray
uimage1DArray
type specifier
USampler2DArray
usampler2DArray
type specifier
UImage2DArray
uimage2DArray
type specifier
USamplerBuffer
usamplerBuffer
type specifier
UImageBuffer
uimageBuffer
type specifier
USampler2DMs
usampler2DMS
type specifier
UImage2DMs
uimage2DMS
type specifier
USampler2DMsArray
usampler2DMSArray
type specifier
UImage2DMsArray
uimage2DMSArray
type specifier
USamplerCubeArray
usamplerCubeArray
type specifier
UImageCubeArray
uimageCubeArray
type specifier
Texture1D
texture1D
type specifier
Texture2D
texture2D
type specifier
Texture3D
texture3D
type specifier
TextureCube
textureCube
type specifier
Texture2DRect
texture2DRect
type specifier
Texture1DArray
texture1DArray
type specifier
Texture2DArray
texture2DArray
type specifier
TextureBuffer
textureBuffer
type specifier
Texture2DMs
texture2DMs
type specifier
Texture2DMsArray
texture2DMsArray
type specifier
TextureCubeArray
textureCubeArray
type specifier
ITexture1D
itexture1D
type specifier
ITexture2D
itexture2D
type specifier
ITexture3D
itexture3D
type specifier
ITextureCube
itextureCube
type specifier
ITexture2DRect
itexture2DRect
type specifier
ITexture1DArray
itexture1DArray
type specifier
ITexture2DArray
itexture2DArray
type specifier
ITextureBuffer
itextureBuffer
type specifier
ITexture2DMs
itexture2DMs
type specifier
ITexture2DMsArray
itexture2DMsArray
type specifier
ITextureCubeArray
itextureCubeArray
type specifier
Sampler
sampler
type specifier
SamplerShadow
samplerShadow
type specifier
SubpassInput
subpassInput
type specifier
ISubpassInput
isubpassInput
type specifier
USubpassInput
usubpassInput
type specifier
SubpassInputMs
subpassInputMs
type specifier
ISubpassInputMs
isubpassInputMs
type specifier
USubpassInputMs
usubpassInputMs
type specifier
Struct(Node<StructSpecifierData>)
struct
type specifier
TypeName(Node<TypeNameData>)
Raw type name
Trait Implementations§
source§impl Clone for TypeSpecifierNonArrayData
impl Clone for TypeSpecifierNonArrayData
source§fn clone(&self) -> TypeSpecifierNonArrayData
fn clone(&self) -> TypeSpecifierNonArrayData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TypeSpecifierNonArrayData
impl Debug for TypeSpecifierNonArrayData
source§impl<'de> Deserialize<'de> for TypeSpecifierNonArrayData
impl<'de> Deserialize<'de> for TypeSpecifierNonArrayData
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeSpecifierNonArrayData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeSpecifierNonArrayData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
source§impl From<Node<TypeNameData>> for TypeSpecifierNonArrayData
impl From<Node<TypeNameData>> for TypeSpecifierNonArrayData
source§fn from(tn: Node<TypeNameData>) -> TypeSpecifierNonArrayData
fn from(tn: Node<TypeNameData>) -> TypeSpecifierNonArrayData
source§impl From<Node<TypeSpecifierNonArrayData>> for TypeSpecifierNonArrayData
impl From<Node<TypeSpecifierNonArrayData>> for TypeSpecifierNonArrayData
source§fn from(node: Node<TypeSpecifierNonArrayData>) -> TypeSpecifierNonArrayData
fn from(node: Node<TypeSpecifierNonArrayData>) -> TypeSpecifierNonArrayData
source§impl From<TypeSpecifierNonArrayData> for FullySpecifiedTypeData
impl From<TypeSpecifierNonArrayData> for FullySpecifiedTypeData
source§fn from(ty: TypeSpecifierNonArrayData) -> FullySpecifiedTypeData
fn from(ty: TypeSpecifierNonArrayData) -> FullySpecifiedTypeData
source§impl From<TypeSpecifierNonArrayData> for TypeSpecifierData
impl From<TypeSpecifierNonArrayData> for TypeSpecifierData
source§fn from(ty: TypeSpecifierNonArrayData) -> TypeSpecifierData
fn from(ty: TypeSpecifierNonArrayData) -> TypeSpecifierData
source§impl NodeContent for TypeSpecifierNonArrayData
impl NodeContent for TypeSpecifierNonArrayData
source§fn into_node<T>(self) -> Node<T>where
T: From<Self> + NodeContent,
fn into_node<T>(self) -> Node<T>where
T: From<Self> + NodeContent,
source§fn spanned(self, start: LexerPosition, end: LexerPosition) -> Node<Self>
fn spanned(self, start: LexerPosition, end: LexerPosition) -> Node<Self>
source§impl NodeContentDisplay for TypeSpecifierNonArrayData
impl NodeContentDisplay for TypeSpecifierNonArrayData
source§impl Serialize for TypeSpecifierNonArrayData
impl Serialize for TypeSpecifierNonArrayData
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for TypeSpecifierNonArrayData
Auto Trait Implementations§
impl Freeze for TypeSpecifierNonArrayData
impl RefUnwindSafe for TypeSpecifierNonArrayData
impl Send for TypeSpecifierNonArrayData
impl Sync for TypeSpecifierNonArrayData
impl Unpin for TypeSpecifierNonArrayData
impl UnwindSafe for TypeSpecifierNonArrayData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more