pub struct RawLineComment<T>(/* private fields */);Trait Implementations§
Source§impl<T: Clone> Clone for RawLineComment<T>
impl<T: Clone> Clone for RawLineComment<T>
Source§fn clone(&self) -> RawLineComment<T>
fn clone(&self) -> RawLineComment<T>
Returns a duplicate 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<T: Debug> Debug for RawLineComment<T>
impl<T: Debug> Debug for RawLineComment<T>
Source§impl<'input, B, T> Tokenizer<'input, B> for RawLineComment<T>
impl<'input, B, T> Tokenizer<'input, B> for RawLineComment<T>
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<T: Copy> Copy for RawLineComment<T>
Auto Trait Implementations§
impl<T> Freeze for RawLineComment<T>where
T: Freeze,
impl<T> RefUnwindSafe for RawLineComment<T>where
T: RefUnwindSafe,
impl<T> Send for RawLineComment<T>where
T: Send,
impl<T> Sync for RawLineComment<T>where
T: Sync,
impl<T> Unpin for RawLineComment<T>where
T: Unpin,
impl<T> UnwindSafe for RawLineComment<T>where
T: 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