[][src]Enum serde_lexpr::print::StringSyntax

pub enum StringSyntax {
    R6RS,
    Elisp,
}

Indicates the syntax for strings.

Variants

R6RS

Syntax as specified the R6RS.

Note that there is no R7RS variant, because R6RS specifies a superset of R7RS syntax. When printing however, the syntax used will be restricted to be understood by an R7RS parser.

Elisp

Emacs Lisp syntax.

Note that unibyte strings will be parsed as byte vectors.

Trait Implementations

impl Clone for StringSyntax[src]

impl Copy for StringSyntax[src]

impl Debug for StringSyntax[src]

impl PartialEq<StringSyntax> for StringSyntax[src]

impl StructuralPartialEq for StringSyntax[src]

Auto Trait Implementations

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.