Struct jsdoc::Input [−][src]
pub struct Input<'i> { /* fields omitted */ }Implementations
Trait Implementations
compares self to another value for equality
compares self to another value for equality independently of the case. Read more
type Iter = CharIndices<'a>
type Iter = CharIndices<'a>
returns an iterator over the elements and their byte offsets
returns an iterator over the elements
finds the byte position of the element
get the byte offset from the element’s position in the stream
Auto Trait Implementations
impl<'i> RefUnwindSafe for Input<'i>
impl<'i> UnwindSafe for Input<'i>
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> InputTakeAtPosition for T where
T: InputLength + InputIter + InputTake + Clone + UnspecializedInput,
impl<T> InputTakeAtPosition for T where
T: InputLength + InputIter + InputTake + Clone + UnspecializedInput,
pub fn split_at_position<P, E>(&self, predicate: P) -> Result<(T, T), Err<E>> where
P: Fn(<T as InputTakeAtPosition>::Item) -> bool,
E: ParseError<T>,
pub fn split_at_position<P, E>(&self, predicate: P) -> Result<(T, T), Err<E>> where
P: Fn(<T as InputTakeAtPosition>::Item) -> bool,
E: ParseError<T>,
looks for the first element of the input type for which the condition returns true, and returns the input up to this position Read more
pub fn split_at_position1<P, E>(
&self,
predicate: P,
e: ErrorKind
) -> Result<(T, T), Err<E>> where
P: Fn(<T as InputTakeAtPosition>::Item) -> bool,
E: ParseError<T>,
pub fn split_at_position1<P, E>(
&self,
predicate: P,
e: ErrorKind
) -> Result<(T, T), Err<E>> where
P: Fn(<T as InputTakeAtPosition>::Item) -> bool,
E: ParseError<T>,
looks for the first element of the input type for which the condition returns true and returns the input up to this position Read more
pub fn split_at_position_complete<P, E>(
&self,
predicate: P
) -> Result<(T, T), Err<E>> where
P: Fn(<T as InputTakeAtPosition>::Item) -> bool,
E: ParseError<T>,
pub fn split_at_position_complete<P, E>(
&self,
predicate: P
) -> Result<(T, T), Err<E>> where
P: Fn(<T as InputTakeAtPosition>::Item) -> bool,
E: ParseError<T>,
looks for the first element of the input type for which the condition returns true, and returns the input up to this position Read more
pub fn split_at_position1_complete<P, E>(
&self,
predicate: P,
e: ErrorKind
) -> Result<(T, T), Err<E>> where
P: Fn(<T as InputTakeAtPosition>::Item) -> bool,
E: ParseError<T>,
pub fn split_at_position1_complete<P, E>(
&self,
predicate: P,
e: ErrorKind
) -> Result<(T, T), Err<E>> where
P: Fn(<T as InputTakeAtPosition>::Item) -> bool,
E: ParseError<T>,
looks for the first element of the input type for which the condition returns true and returns the input up to this position Read more