pub enum GapPiece {
Comment(Comment),
Punct(&'static str),
}Expand description
Variants§
Comment(Comment)
A comment found in the gap.
Punct(&'static str)
One expected literal token (an operator symbol, delimiter, comma, or keyword).
Trait Implementations§
impl Eq for GapPiece
impl StructuralPartialEq for GapPiece
Auto Trait Implementations§
impl Freeze for GapPiece
impl RefUnwindSafe for GapPiece
impl Send for GapPiece
impl Sync for GapPiece
impl Unpin for GapPiece
impl UnsafeUnpin for GapPiece
impl UnwindSafe for GapPiece
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