[][src]Struct bracket::parser::ast::Text

pub struct Text<'source>(pub &'source str, pub Range<usize>);

Text nodes refer to a consecutive range of bytes.

Trait Implementations

impl<'_> Debug for Text<'_>[src]

impl<'_> Display for Text<'_>[src]

impl<'source> Eq for Text<'source>[src]

impl<'source> Into<Text<'source>> for TextBlock<'source>[src]

impl<'source> PartialEq<Text<'source>> for Text<'source>[src]

impl<'source> Slice<'source> for Text<'source>[src]

impl<'source> StructuralEq for Text<'source>[src]

impl<'source> StructuralPartialEq for Text<'source>[src]

Auto Trait Implementations

impl<'source> RefUnwindSafe for Text<'source>

impl<'source> Send for Text<'source>

impl<'source> Sync for Text<'source>

impl<'source> Unpin for Text<'source>

impl<'source> UnwindSafe for Text<'source>

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> ToString for T where
    T: Display + ?Sized
[src]

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.