[−][src]Enum sise::ReadItemKind
Variants
An atom, as documented in Node::Atom
.
The beginning of a list (i.e., a (
).
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]
fn clone(&self) -> ReadItemKind<S>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn eq(&self, other: &ReadItemKind<S>) -> bool
[src]
fn ne(&self, other: &ReadItemKind<S>) -> bool
[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,
S: Send,
impl<S> Sync for ReadItemKind<S> where
S: Sync,
S: Sync,
impl<S> Unpin for ReadItemKind<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for ReadItemKind<S> where
S: UnwindSafe,
S: UnwindSafe,
impl<S> RefUnwindSafe for ReadItemKind<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,