Enum librsnek::compiler::scope::ScopeHint [] [src]

pub enum ScopeHint {
    BaseScope,
    ModuleScope,
    FunctionScope,
}

A way to reference a Descriptor<T> variant without knowing the inner

Variants

Trait Implementations

impl Debug for ScopeHint
[src]

Formats the value using the given formatter.

impl PartialEq for ScopeHint
[src]

This method tests for self and other values to be equal, and is used

This method tests for !=.

impl Eq for ScopeHint
[src]

impl Ord for ScopeHint
[src]

This method returns an Ordering between self and other.

impl PartialOrd for ScopeHint
[src]

This method returns an ordering between self and other values if one exists.

This method tests less than (for self and other) and is used by the < operator.

This method tests less than or equal to (for self and other) and is used by the <=

This method tests greater than (for self and other) and is used by the > operator.

This method tests greater than or equal to (for self and other) and is used by the >=

impl Hash for ScopeHint
[src]

Feeds this value into the given [Hasher].

Feeds a slice of this type into the given [Hasher].

impl Copy for ScopeHint
[src]

impl Clone for ScopeHint
[src]

Returns a copy of the value.

Performs copy-assignment from source.