[][src]Enum fluent_syntax::ast::VariantKey

pub enum VariantKey<'ast> {
    Identifier {
        name: &'ast str,
    },
    NumberLiteral {
        value: &'ast str,
    },
}

Variants

Identifier

Fields of Identifier

name: &'ast str
NumberLiteral

Fields of NumberLiteral

value: &'ast str

Trait Implementations

impl<'ast> Debug for VariantKey<'ast>[src]

impl<'ast> PartialEq<VariantKey<'ast>> for VariantKey<'ast>[src]

impl<'ast> StructuralPartialEq for VariantKey<'ast>[src]

Auto Trait Implementations

impl<'ast> RefUnwindSafe for VariantKey<'ast>

impl<'ast> Send for VariantKey<'ast>

impl<'ast> Sync for VariantKey<'ast>

impl<'ast> Unpin for VariantKey<'ast>

impl<'ast> UnwindSafe for VariantKey<'ast>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.