Struct glsl::syntax::FullySpecifiedType
source · pub struct FullySpecifiedType {
pub qualifier: Option<TypeQualifier>,
pub ty: TypeSpecifier,
}
Expand description
Fully specified type.
Fields§
§qualifier: Option<TypeQualifier>
§ty: TypeSpecifier
Implementations§
source§impl FullySpecifiedType
impl FullySpecifiedType
pub fn new(ty: TypeSpecifierNonArray) -> Self
Trait Implementations§
source§impl Clone for FullySpecifiedType
impl Clone for FullySpecifiedType
source§fn clone(&self) -> FullySpecifiedType
fn clone(&self) -> FullySpecifiedType
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 FullySpecifiedType
impl Debug for FullySpecifiedType
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 Host for FullySpecifiedType
impl Host for FullySpecifiedType
source§impl HostMut for FullySpecifiedType
impl HostMut for FullySpecifiedType
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 FullySpecifiedType
impl Parse for FullySpecifiedType
source§impl PartialEq for FullySpecifiedType
impl PartialEq for FullySpecifiedType
source§fn eq(&self, other: &FullySpecifiedType) -> bool
fn eq(&self, other: &FullySpecifiedType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FullySpecifiedType
Auto Trait Implementations§
impl RefUnwindSafe for FullySpecifiedType
impl Send for FullySpecifiedType
impl Sync for FullySpecifiedType
impl Unpin for FullySpecifiedType
impl UnwindSafe for FullySpecifiedType
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