Enum gluon_base::types::Prec[][src]

pub enum Prec {
    Top,
    Function,
    Constructor,
}

Variants

The type exists in the top context, no parentheses needed.

The type exists in a function argument Type -> a, parentheses are needed if the type is a function (b -> c) -> a.

The type exists in a constructor argument Option Type, parentheses are needed for functions or other constructors Option (a -> b) Option (Result a b).

Methods

impl Prec
[src]

Trait Implementations

impl PartialEq for Prec
[src]

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

This method tests for !=.

impl Copy for Prec
[src]

impl Clone for Prec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd for Prec
[src]

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

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

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

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

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

Auto Trait Implementations

impl Send for Prec

impl Sync for Prec