[][src]Enum serde_lexpr::parse::Brackets

pub enum Brackets {
    List,
    Vector,
}

Defines the treatment of brackets.

Variants

List

Brackets are synonymous with regular parentheses, and indicate a list, as in R6RS Scheme.

Vector

Brackets indicate a vector, like in Emacs Lisp.

Trait Implementations

impl Clone for Brackets[src]

impl Copy for Brackets[src]

impl Debug for Brackets[src]

impl PartialEq<Brackets> for Brackets[src]

impl StructuralPartialEq for Brackets[src]

Auto Trait Implementations

impl RefUnwindSafe for Brackets

impl Send for Brackets

impl Sync for Brackets

impl Unpin for Brackets

impl UnwindSafe for Brackets

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.