Enum glsl_lang::ast::TypeSpecifierNonArray [−][src]
Type specifier (non-array).
Variants
void
type specifier
bool
type specifier
int
type specifier
uint
type specifier
float
type specifier
double
type specifier
vec2
type specifier
vec3
type specifier
vec4
type specifier
dvec2
type specifier
dvec3
type specifier
dvec4
type specifier
bvec2
type specifier
bvec3
type specifier
bvec4
type specifier
ivec2
type specifier
ivec3
type specifier
ivec4
type specifier
uvec2
type specifier
uvec3
type specifier
uvec4
type specifier
mat2
type specifier
mat3
type specifier
mat4
type specifier
mat2x2
type specifier
mat2x3
type specifier
mat2x4
type specifier
mat3x2
type specifier
mat3x3
type specifier
mat3x4
type specifier
mat4x2
type specifier
mat4x3
type specifier
mat4x4
type specifier
dmat2
type specifier
dmat3
type specifier
dmat4
type specifier
dmat2x2
type specifier
dmat2x3
type specifier
dmat2x4
type specifier
dmat3x2
type specifier
dmat3x3
type specifier
dmat3x4
type specifier
dmat4x2
type specifier
dmat4x3
type specifier
dmat4x4
type specifier
sampler1D
type specifier
image1D
type specifier
sampler2D
type specifier
image2D
type specifier
sampler3D
type specifier
image3D
type specifier
samplerCube
type specifier
imageCube
type specifier
sampler2DRect
type specifier
image2DRect
type specifier
sampler1DArray
type specifier
image1DArray
type specifier
sampler2DArray
type specifier
image2DArray
type specifier
samplerBuffer
type specifier
imageBuffer
type specifier
sampler2DMS
type specifier
image2DMS
type specifier
sampler2DMSArray
type specifier
image2DMSArray
type specifier
samplerCubeArray
type specifier
imageCubeArray
type specifier
sampler1DShadow
type specifier
sampler2DShadow
type specifier
sampler2DRectShadow
type specifier
sampler1DArrayShadow
type specifier
sampler2DArrayShadow
type specifier
samplerCubeShadow
type specifier
samplerCubeArrayShadow
type specifier
isampler1D
type specifier
iimage1D
type specifier
isampler2D
type specifier
iimage2D
type specifier
isampler3D
type specifier
iimage3D
type specifier
isamplerCube
type specifier
iimageCube
type specifier
isampler2DRect
type specifier
iimage2DRect
type specifier
isampler1DArray
type specifier
iimage1DArray
type specifier
isampler2DArray
type specifier
iimage2DArray
type specifier
isamplerBuffer
type specifier
iimageBuffer
type specifier
isampler2DMS
type specifier
iimage2DMS
type specifier
isampler2DMSArray
type specifier
iimage2DMSArray
type specifier
isamplerCubeArray
type specifier
iimageCubeArray
type specifier
atomic_uint
type specifier
usampler1D
type specifier
uimage1D
type specifier
usampler2D
type specifier
uimage2D
type specifier
usampler3D
type specifier
uimage3D
type specifier
usamplerCube
type specifier
uimageCube
type specifier
usampler2DRect
type specifier
uimage2DRect
type specifier
usampler1DArray
type specifier
uimage1DArray
type specifier
usampler2DArray
type specifier
uimage2DArray
type specifier
usamplerBuffer
type specifier
uimageBuffer
type specifier
usampler2DMS
type specifier
uimage2DMS
type specifier
usampler2DMSArray
type specifier
uimage2DMSArray
type specifier
usamplerCubeArray
type specifier
uimageCubeArray
type specifier
Struct(StructSpecifier)
struct
type specifier
TypeName(TypeName)
Raw type name
Trait Implementations
impl Clone for TypeSpecifierNonArray
[src]
fn clone(&self) -> TypeSpecifierNonArray
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TypeSpecifierNonArray
[src]
impl From<Node<TypeNameData>> for TypeSpecifierNonArray
[src]
impl From<TypeSpecifierNonArray> for FullySpecifiedType
[src]
fn from(ty: TypeSpecifierNonArray) -> Self
[src]
impl Host for TypeSpecifierNonArray
[src]
impl HostMut for TypeSpecifierNonArray
[src]
fn visit_mut<V>(&mut self, visitor: &mut V) where
V: VisitorMut,
[src]
V: VisitorMut,
impl NodeContent for TypeSpecifierNonArray
[src]
pub fn into_node<T>(self) -> Node<T> where
T: From<Self> + NodeContent,
[src]
T: From<Self> + NodeContent,
pub fn spanned(self, start: LexerPosition, end: LexerPosition) -> Node<Self>
[src]
impl NodeContentDisplay for TypeSpecifierNonArray
[src]
fn name() -> Option<&'static str>
[src]
fn display_extra(&self, f: &mut Formatter<'_>) -> Result
[src]
fn display_children(&self, level: usize, f: &mut Formatter<'_>) -> Result
[src]
impl NodeContentEq for TypeSpecifierNonArray
[src]
fn content_eq(&self, other: &Self) -> bool
[src]
impl Parsable for TypeSpecifierNonArray
[src]
fn parse_with_options(
source: &str,
opts: &ParseContext
) -> Result<(Self, ParseContext), ParseError>
[src]
source: &str,
opts: &ParseContext
) -> Result<(Self, ParseContext), ParseError>
fn parse(source: &str) -> Result<Self, ParseError>
[src]
impl PartialEq<TypeSpecifierNonArray> for TypeSpecifierNonArray
[src]
fn eq(&self, other: &TypeSpecifierNonArray) -> bool
[src]
fn ne(&self, other: &TypeSpecifierNonArray) -> bool
[src]
impl StructuralPartialEq for TypeSpecifierNonArray
[src]
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
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,
pub 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> IntoResult<T> for T
[src]
type Err = Infallible
pub fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
[src]
impl<T> NodeDisplay for T where
T: NodeContentDisplay,
[src]
T: NodeContentDisplay,
pub fn name() -> Option<&'static str>
[src]
pub fn start(&self) -> Option<usize>
[src]
pub fn end(&self) -> Option<usize>
[src]
pub fn source_id(&self) -> Option<usize>
[src]
pub fn display(&self) -> NodeDisplayWrapper<'_, T>
[src]
pub fn display_extra(&self, f: &mut Formatter<'_>) -> Result<(), Error>
[src]
pub fn display_children(
&self,
level: usize,
f: &mut Formatter<'_>
) -> Result<(), Error>
[src]
&self,
level: usize,
f: &mut Formatter<'_>
) -> Result<(), Error>
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,