Enum kailua_syntax::ast::TypeScope [] [src]

pub enum TypeScope {
    Local,
    Global,
    Exported,
}

A scope of the named Kailua type (from --# type).

Variants

A type name is local to the current (Lua) scope.

A type name is globally usable.

A type name is local to the current (Lua) scope, but requireing the current module will copy it to the callee's local scope.

Trait Implementations

impl Copy for TypeScope
[src]

impl Clone for TypeScope
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TypeScope
[src]

Formats the value using the given formatter.

impl PartialEq for TypeScope
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TypeScope
[src]