Struct glsl::syntax::FunctionParameterDeclarator
source · pub struct FunctionParameterDeclarator {
pub ty: TypeSpecifier,
pub ident: ArrayedIdentifier,
}
Expand description
Function parameter declarator.
Fields§
§ty: TypeSpecifier
§ident: ArrayedIdentifier
Trait Implementations§
source§impl Clone for FunctionParameterDeclarator
impl Clone for FunctionParameterDeclarator
source§fn clone(&self) -> FunctionParameterDeclarator
fn clone(&self) -> FunctionParameterDeclarator
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 FunctionParameterDeclarator
impl Debug for FunctionParameterDeclarator
source§impl Host for FunctionParameterDeclarator
impl Host for FunctionParameterDeclarator
source§impl HostMut for FunctionParameterDeclarator
impl HostMut for FunctionParameterDeclarator
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 PartialEq for FunctionParameterDeclarator
impl PartialEq for FunctionParameterDeclarator
source§fn eq(&self, other: &FunctionParameterDeclarator) -> bool
fn eq(&self, other: &FunctionParameterDeclarator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FunctionParameterDeclarator
Auto Trait Implementations§
impl RefUnwindSafe for FunctionParameterDeclarator
impl Send for FunctionParameterDeclarator
impl Sync for FunctionParameterDeclarator
impl Unpin for FunctionParameterDeclarator
impl UnwindSafe for FunctionParameterDeclarator
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