pub struct Utf8Scalar { /* private fields */ }
Expand description
See utf8_scalar
Trait Implementations§
Source§impl Clone for Utf8Scalar
impl Clone for Utf8Scalar
Source§fn clone(&self) -> Utf8Scalar
fn clone(&self) -> Utf8Scalar
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'i> Parser<&'i str> for Utf8Scalar
impl<'i> Parser<&'i str> for Utf8Scalar
Source§fn try_parse(&self, input: &'i str) -> Option<(Self::Out, &'i str)>
fn try_parse(&self, input: &'i str) -> Option<(Self::Out, &'i str)>
Recognizes a value from the input and returns the result Read more
Source§fn map<F, Mapped>(self, f: F) -> Map<Self, F>
fn map<F, Mapped>(self, f: F) -> Map<Self, F>
Returns a parser that applies the function
f
to its output Read moreSource§fn or<P>(self, next: P) -> Or<Self, P>where
Self: Sized,
fn or<P>(self, next: P) -> Or<Self, P>where
Self: Sized,
Returns a parser that calls the
next
parser if it fails to match its input. Read moreSource§fn fold<R, Op, Init, IV>(
self,
count: R,
op: Op,
init: Init,
) -> Fold<Self, Op, Init>
fn fold<R, Op, Init, IV>( self, count: R, op: Op, init: Init, ) -> Fold<Self, Op, Init>
Returns a parser that succeeds if it is able to match its input
count
times. Read moreSource§fn repeats<R>(
self,
count: R,
) -> Fold<Self, RepeatsOperation<Self::Out>, RepeatsInit>where
Self: Sized,
R: RepetitionArgument,
fn repeats<R>(
self,
count: R,
) -> Fold<Self, RepeatsOperation<Self::Out>, RepeatsInit>where
Self: Sized,
R: RepetitionArgument,
Returns a parser that succeeds if it is able to match its input
count
times, discarding
any output along the way Read moreSource§fn accumulate<R>(
self,
count: R,
) -> Fold<Self, AccumulateOperation<Self::Out>, AccumulateInit<Self::Out>>where
R: RepetitionArgument,
Self: Sized,
fn accumulate<R>(
self,
count: R,
) -> Fold<Self, AccumulateOperation<Self::Out>, AccumulateInit<Self::Out>>where
R: RepetitionArgument,
Self: Sized,
Returns a parser that succeeds if it is able to match its input
count
times, accumulating
output into a Vec
along the way. Read moreSource§fn input(self) -> Input<Self>where
Self: Sized,
fn input(self) -> Input<Self>where
Self: Sized,
Returns a parser that outputs the slice of the input that was recognized. Read more
Source§fn peek(self) -> Peek<Self>where
Self: Sized,
fn peek(self) -> Peek<Self>where
Self: Sized,
Returns a parser that never consumes any input regardless of its outcome. It can be used to
look ahead. Read more
impl Copy for Utf8Scalar
Auto Trait Implementations§
impl Freeze for Utf8Scalar
impl RefUnwindSafe for Utf8Scalar
impl Send for Utf8Scalar
impl Sync for Utf8Scalar
impl Unpin for Utf8Scalar
impl UnwindSafe for Utf8Scalar
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more