Struct glsl::syntax::SingleDeclarationNoType
source · pub struct SingleDeclarationNoType {
pub ident: ArrayedIdentifier,
pub initializer: Option<Initializer>,
}
Expand description
A single declaration with implicit, already-defined type.
Fields§
§ident: ArrayedIdentifier
§initializer: Option<Initializer>
Trait Implementations§
source§impl Clone for SingleDeclarationNoType
impl Clone for SingleDeclarationNoType
source§fn clone(&self) -> SingleDeclarationNoType
fn clone(&self) -> SingleDeclarationNoType
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 SingleDeclarationNoType
impl Debug for SingleDeclarationNoType
source§impl Host for SingleDeclarationNoType
impl Host for SingleDeclarationNoType
source§impl HostMut for SingleDeclarationNoType
impl HostMut for SingleDeclarationNoType
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 SingleDeclarationNoType
impl PartialEq for SingleDeclarationNoType
source§fn eq(&self, other: &SingleDeclarationNoType) -> bool
fn eq(&self, other: &SingleDeclarationNoType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SingleDeclarationNoType
Auto Trait Implementations§
impl RefUnwindSafe for SingleDeclarationNoType
impl Send for SingleDeclarationNoType
impl Sync for SingleDeclarationNoType
impl Unpin for SingleDeclarationNoType
impl UnwindSafe for SingleDeclarationNoType
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