[][src]Enum serde_lexpr::print::KeywordSyntax

pub enum KeywordSyntax {
    ColonPrefix,
    ColonPostfix,
    Octothorpe,
}

Indicates a syntax of keywords.

Variants

ColonPrefix

Parse identifiers starting with a colon as keywords.

In the absence of this option, such identifiers would be parsed as symbols.

ColonPostfix

Parse identifiers ending with a colon as keywords.

In the absence of this option, such identifiers would be parsed as symbols.

Octothorpe

Parse identifiers prefixed with #: as keywords.

In the absence of this option, the sequence #: will result in a parser error.

Trait Implementations

impl Clone for KeywordSyntax[src]

impl Copy for KeywordSyntax[src]

impl Debug for KeywordSyntax[src]

impl PartialEq<KeywordSyntax> for KeywordSyntax[src]

impl StructuralPartialEq for KeywordSyntax[src]

Auto Trait Implementations

impl RefUnwindSafe for KeywordSyntax

impl Send for KeywordSyntax

impl Sync for KeywordSyntax

impl Unpin for KeywordSyntax

impl UnwindSafe for KeywordSyntax

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.