Struct glsl::syntax::TranslationUnit
source · pub struct TranslationUnit(pub NonEmpty<ExternalDeclaration>);
Expand description
Starting rule.
Tuple Fields§
§0: NonEmpty<ExternalDeclaration>
Trait Implementations§
source§impl Clone for TranslationUnit
impl Clone for TranslationUnit
source§fn clone(&self) -> TranslationUnit
fn clone(&self) -> TranslationUnit
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 more