[][src]Struct jsdoc::Input

pub struct Input<'i> { /* fields omitted */ }

Implementations

impl<'i> Input<'i>[src]

pub const fn empty() -> Self[src]

pub const fn new(start: BytePos, end: BytePos, src: &'i str) -> Self[src]

pub fn span(self) -> Span[src]

Trait Implementations

impl<'i> Clone for Input<'i>[src]

impl<'a, '_> Compare<&'a str> for Input<'_>[src]

impl<'i> Copy for Input<'i>[src]

impl<'i> Debug for Input<'i>[src]

impl<'_> Deref for Input<'_>[src]

type Target = str

The resulting type after dereferencing.

impl<'a, 'b> From<&'a Comment> for Input<'a>[src]

impl<'i> From<Input<'i>> for Text[src]

impl<'a> InputIter for Input<'a>[src]

type Item = char

the current input type is a sequence of that Item type. Read more

type Iter = CharIndices<'a>

an iterator over the input type, producing the item and its position for use with Slice. If we're iterating over &str, the position corresponds to the byte index of the character Read more

type IterElem = Chars<'a>

an iterator over the input type, producing the item

impl<'_> InputLength for Input<'_>[src]

impl<'_> InputTake for Input<'_>[src]

impl<'_> Slice<Range<usize>> for Input<'_>[src]

impl<'_> Slice<RangeFrom<usize>> for Input<'_>[src]

impl<'_> Slice<RangeTo<usize>> for Input<'_>[src]

impl<'_> UnspecializedInput for Input<'_>[src]

Auto Trait Implementations

impl<'i> RefUnwindSafe for Input<'i>

impl<'i> Send for Input<'i>

impl<'i> Sync for Input<'i>

impl<'i> Unpin for Input<'i>

impl<'i> UnwindSafe for Input<'i>

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> InputTakeAtPosition for T where
    T: InputLength + InputIter + InputTake + UnspecializedInput + Clone
[src]

type Item = <T as InputIter>::Item

the current input type is a sequence of that Item type. Read more

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

impl<T> Sync for T where
    T: ?Sized
[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.