Struct byte_parser::split_on_byte::SplitOnByteIter [−][src]
Trait Implementations
impl<'a, T: Debug> Debug for SplitOnByteIter<'a, T>
[src]
impl<'s, 'a, T> ParseIterator<'s> for SplitOnByteIter<'a, T> where
T: ParseIterator<'s>,
[src]
T: ParseIterator<'s>,
type PointInTime = SplitOnBytePointInTime
The type that is used to store information about the current position.
fn slice(&self) -> &'s [u8]
[src]
fn pit(&self) -> Self::PointInTime
[src]
fn restore_pit(&mut self, pit: Self::PointInTime)
[src]
fn advance(&mut self) -> Option<()>
[src]
fn recorder(&self) -> Option<&Recorder>
[src]
unsafe fn is_valid_utf8() -> bool
[src]
fn advance_if<F>(&mut self, advance_if: F) -> Option<bool> where
F: FnOnce(&u8) -> bool,
[src]
F: FnOnce(&u8) -> bool,
fn byte(&self) -> Option<u8>
[src]
fn next(&mut self) -> Option<u8>
[src]
fn next_if<F>(&mut self, next_if: F) -> Option<u8> where
F: FnOnce(&u8) -> bool,
[src]
F: FnOnce(&u8) -> bool,
fn peek(&mut self) -> Option<u8>
[src]
fn peek_len(&mut self, len: usize) -> Option<&'s [u8]> where
Self: Sized,
[src]
Self: Sized,
fn peek_at(&mut self, pos: usize) -> Option<u8>
[src]
fn ignore_byte(&mut self, byte: u8) -> IgnoreByte<'_, Self> where
Self: Sized,
[src]
Self: Sized,
fn while_byte_fn<F>(&mut self, f: F) -> WhileByteFn<'_, Self, F> where
Self: Sized,
F: Fn(&u8) -> bool,
[src]
Self: Sized,
F: Fn(&u8) -> bool,
fn consume(&mut self) -> &mut Self
[src]
fn consume_and_count(&mut self) -> usize
[src]
fn consume_len(&mut self, len: usize) -> Result<&mut Self, usize>
[src]
fn consume_at_least(&mut self, len: usize) -> Result<&mut Self, usize>
[src]
fn consume_at_least_and_count(&mut self, len: usize) -> Result<usize, usize>
[src]
fn consume_while_byte_fn<F>(&mut self, f: F) -> &mut Self where
Self: Sized,
F: Fn(&u8) -> bool,
[src]
Self: Sized,
F: Fn(&u8) -> bool,
fn consume_while_byte(&mut self, byte: u8) -> &mut Self where
Self: Sized,
[src]
Self: Sized,
fn split_on_byte(&mut self, byte: u8) -> SplitOnByte<'_, Self> where
Self: Sized,
[src]
Self: Sized,
fn count_byte(&mut self, byte: u8) -> usize where
Self: Sized,
[src]
Self: Sized,
fn record(&mut self) -> RecordIter<'_, Self> where
Self: Sized,
[src]
Self: Sized,
fn to_slice(&self) -> &'s [u8]
[src]
unsafe fn to_str_unchecked(&self) -> &'s str
[src]
fn to_str(&self) -> &'s str
[src]
fn try_to_str(&self) -> Result<&'s str, Utf8Error>
[src]
fn consume_to_slice(&mut self) -> &'s [u8]
[src]
unsafe fn consume_to_str_unchecked(&mut self) -> &'s str
[src]
fn consume_to_str(&mut self) -> &'s str
[src]
fn consume_try_to_str(&mut self) -> Result<&'s str, Utf8Error>
[src]
fn expect_byte_fn<F>(&mut self, f: F) -> Result<&mut Self, Option<u8>> where
F: Fn(u8) -> bool,
[src]
F: Fn(u8) -> bool,
fn expect_byte(&mut self, byte: u8) -> Result<&mut Self, Option<u8>>
[src]
fn expect_none(&mut self) -> Result<&mut Self, u8>
[src]
fn stop(&mut self) -> Stop<'_, Self> where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for SplitOnByteIter<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for SplitOnByteIter<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for SplitOnByteIter<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for SplitOnByteIter<'a, T>
impl<'a, T> !UnwindSafe for SplitOnByteIter<'a, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,