pub struct Str;Trait Implementations§
Source§impl<'input, B> Tokenizer<'input, B> for Str
impl<'input, B> Tokenizer<'input, B> for Str
type Token = Item<<<B as Buffer<'input>>::Source as AsSlice<'input>>::Slice>
fn to_token<'a>( &self, reader: &mut Reader<'_, 'input, B>, ) -> Result<Self::Token, Error>
fn peek<'a>(&self, reader: &mut Reader<'_, 'input, B>) -> bool
fn eat(&self, reader: &mut Reader<'_, 'input, B>) -> Result<(), Error>
impl Copy for Str
Auto Trait Implementations§
impl Freeze for Str
impl RefUnwindSafe for Str
impl Send for Str
impl Sync for Str
impl Unpin for Str
impl UnwindSafe for Str
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