pub struct Punct { /* private fields */ }Expand description
One maximal-munch M2 punctuation token.
Implementations§
Trait Implementations§
impl Eq for Punct
Source§impl Parse for Punct
impl Parse for Punct
fn parse(input: &mut ParseStream) -> Result<Self, TokenParseError>
impl StructuralPartialEq for Punct
Auto Trait Implementations§
impl Freeze for Punct
impl RefUnwindSafe for Punct
impl Send for Punct
impl Sync for Punct
impl Unpin for Punct
impl UnsafeUnpin for Punct
impl UnwindSafe for Punct
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