pub enum Ws<'s> {
LineComment(&'s str),
Space(&'s str),
BlockComment(&'s str),
}Variants§
Implementations§
Source§impl Ws<'_>
impl Ws<'_>
pub fn is_comment(&self) -> bool
pub fn is_line_comment(&self) -> bool
Trait Implementations§
impl<'s> StructuralPartialEq for Ws<'s>
Auto Trait Implementations§
impl<'s> Freeze for Ws<'s>
impl<'s> RefUnwindSafe for Ws<'s>
impl<'s> Send for Ws<'s>
impl<'s> Sync for Ws<'s>
impl<'s> Unpin for Ws<'s>
impl<'s> UnwindSafe for Ws<'s>
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