pub struct ScanA<S>(/* private fields */);
Expand description
Runtime scanner that delegates to a static scanner.
See: scan_a
.
Trait Implementations§
Source§impl<'a, S> ScanStr<'a> for ScanA<S>where
S: ScanFromStr<'a>,
impl<'a, S> ScanStr<'a> for ScanA<S>where
S: ScanFromStr<'a>,
Source§type Output = <S as ScanFromStr<'a>>::Output
type Output = <S as ScanFromStr<'a>>::Output
The type that the implementation scans into.
Source§fn scan<I: ScanInput<'a>>(
&mut self,
s: I,
) -> Result<(Self::Output, usize), ScanError>
fn scan<I: ScanInput<'a>>( &mut self, s: I, ) -> Result<(Self::Output, usize), ScanError>
Perform a scan on the given input. Read more
Source§fn wants_leading_junk_stripped(&self) -> bool
fn wants_leading_junk_stripped(&self) -> bool
Indicates whether or not the scanner wants its input to have leading “junk”, such as whitespace, stripped. Read more
Auto Trait Implementations§
impl<S> Freeze for ScanA<S>
impl<S> RefUnwindSafe for ScanA<S>where
S: RefUnwindSafe,
impl<S> Send for ScanA<S>where
S: Send,
impl<S> Sync for ScanA<S>where
S: Sync,
impl<S> Unpin for ScanA<S>where
S: Unpin,
impl<S> UnwindSafe for ScanA<S>where
S: UnwindSafe,
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