Enum kailua_syntax::ast::M
[−]
[src]
pub enum M { None, Const, }
A type modifier for Kailua.
A modifier primarily determines whether a field or variable can be modified or not.
Variants
None
Mutable (default, no separate keyword exists).
Const
Immutable (const
).
Trait Implementations
impl Copy for M
[src]
impl Clone for M
[src]
fn clone(&self) -> M
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for M
[src]
fn eq(&self, __arg_0: &M) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.