[][src]Enum syntax_pos::edition::Edition

pub enum Edition {
    Edition2015,
    Edition2018,
}

The edition of the compiler (RFC 2052)

Variants

The 2015 edition

The 2018 edition

Methods

impl Edition
[src]

Trait Implementations

impl Clone for Edition
[src]

Performs copy-assignment from source. Read more

impl Copy for Edition
[src]

impl Eq for Edition
[src]

impl PartialOrd<Edition> for Edition
[src]

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

impl PartialEq<Edition> for Edition
[src]

This method tests for !=.

impl Debug for Edition
[src]

impl Display for Edition
[src]

impl Hash for Edition
[src]

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

impl FromStr for Edition
[src]

The associated error which can be returned from parsing.

impl Encodable for Edition
[src]

impl Decodable for Edition
[src]

Auto Trait Implementations

impl Send for Edition

impl Sync for Edition

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Encodable for T where
    T: UseSpecializedEncodable + ?Sized
[src]

impl<T> Decodable for T where
    T: UseSpecializedDecodable
[src]

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<E> SpecializationError for E
[src]

impl<T> Erased for T
[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> Erased for T