pub struct Empty { /* private fields */ }Expand description
A zero-width component occupying an omitted position beside a comma.
Empty components evaluate as null but emit no token text. Their spans mark the source position at which the omitted component occurs.
Implementations§
Trait Implementations§
impl Copy for Empty
impl Eq for Empty
Source§impl Parse for Empty
impl Parse for Empty
fn parse(input: &mut ParseStream) -> Result<Self, TokenParseError>
impl StructuralPartialEq for Empty
Auto Trait Implementations§
impl Freeze for Empty
impl RefUnwindSafe for Empty
impl Send for Empty
impl Sync for Empty
impl Unpin for Empty
impl UnsafeUnpin for Empty
impl UnwindSafe for Empty
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