Enum conch_parser::token::Positional [] [src]

pub enum Positional {
    Zero,
    One,
    Two,
    Three,
    Four,
    Five,
    Six,
    Seven,
    Eight,
    Nine,
}

The inner representation of a positional parameter.

Variants

$0

$1

$2

$3

$4

$5

$6

$7

$8

$9

Methods

impl Positional
[src]

Converts a Positional as a numeric representation

Attempts to convert a number to a Positional representation

Trait Implementations

impl PartialEq for Positional
[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 Positional
[src]

impl Debug for Positional
[src]

Formats the value using the given formatter.

impl Clone for Positional
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Positional
[src]

impl Into<u8> for Positional
[src]

Performs the conversion.