Enum kailua_syntax::ast::TypeScope
[−]
[src]
pub enum TypeScope { Local, Global, Exported, }
A scope of the named Kailua type (from --# type
).
Variants
Local
A type name is local to the current (Lua) scope.
Global
A type name is globally usable.
Exported
A type name is local to the current (Lua) scope,
but require
ing the current module will copy it to the callee's local scope.
Trait Implementations
impl Copy for TypeScope
[src]
impl Clone for TypeScope
[src]
fn clone(&self) -> TypeScope
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 Debug for TypeScope
[src]
impl PartialEq for TypeScope
[src]
fn eq(&self, __arg_0: &TypeScope) -> 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 !=
.