[][src]Enum sise::ReadItemKind

pub enum ReadItemKind<S: Into<String> + AsRef<str>> {
    Atom(S),
    ListBeginning,
    ListEnding,
}

Variants

Atom(S)

An atom, as documented in Node::Atom.

ListBeginning

The beginning of a list (i.e., a ().

ListEnding

The ending of a list (i.e., a )).

Methods

impl<S: Into<String> + AsRef<str>> ReadItemKind<S>[src]

pub fn is_atom(&self) -> bool[src]

pub fn as_atom(&self) -> Option<&S>[src]

pub fn into_atom(self) -> Option<S>[src]

Trait Implementations

impl<S: Clone + Into<String> + AsRef<str>> Clone for ReadItemKind<S>[src]

impl<S: Eq + Into<String> + AsRef<str>> Eq for ReadItemKind<S>[src]

impl<S: PartialEq + Into<String> + AsRef<str>> PartialEq<ReadItemKind<S>> for ReadItemKind<S>[src]

impl<S: Debug + Into<String> + AsRef<str>> Debug for ReadItemKind<S>[src]

impl<S: Into<String> + AsRef<str>> StructuralPartialEq for ReadItemKind<S>[src]

impl<S: Into<String> + AsRef<str>> StructuralEq for ReadItemKind<S>[src]

Auto Trait Implementations

impl<S> Send for ReadItemKind<S> where
    S: Send

impl<S> Sync for ReadItemKind<S> where
    S: Sync

impl<S> Unpin for ReadItemKind<S> where
    S: Unpin

impl<S> UnwindSafe for ReadItemKind<S> where
    S: UnwindSafe

impl<S> RefUnwindSafe for ReadItemKind<S> where
    S: RefUnwindSafe

Blanket Implementations

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 = !

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.

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

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

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