Enum glsl::syntax::Initializer [−][src]
pub enum Initializer { Simple(Box<Expr>), List(NonEmpty<Initializer>), }
Initializer.
Variants
Simple(Box<Expr>)
List(NonEmpty<Initializer>)
Trait Implementations
impl Clone for Initializer
[src]
impl Clone for Initializer
fn clone(&self) -> Initializer
[src]
fn clone(&self) -> Initializer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Initializer
[src]
impl Debug for Initializer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Initializer
[src]
impl PartialEq for Initializer
fn eq(&self, other: &Initializer) -> bool
[src]
fn eq(&self, other: &Initializer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Initializer) -> bool
[src]
fn ne(&self, other: &Initializer) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for Initializer
impl Send for Initializer
impl Sync for Initializer
impl Sync for Initializer