Struct jsonc_parser::ast::WordLit[][src]

pub struct WordLit<'a> {
    pub range: Range,
    pub value: &'a str,
}

A string that’s not in quotes. Usually the appearance of this would be a parsing error.

Fields

range: Rangevalue: &'a str

Trait Implementations

impl<'a> Clone for WordLit<'a>[src]

impl<'a> Debug for WordLit<'a>[src]

impl<'a, 'b> From<&'b WordLit<'a>> for Node<'a, 'b>[src]

impl<'a> PartialEq<WordLit<'a>> for WordLit<'a>[src]

impl<'a> Ranged for WordLit<'a>[src]

impl<'a> StructuralPartialEq for WordLit<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for WordLit<'a>

impl<'a> Send for WordLit<'a>

impl<'a> Sync for WordLit<'a>

impl<'a> Unpin for WordLit<'a>

impl<'a> UnwindSafe for WordLit<'a>

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.