Enum syn::MacroDelimiter
source · pub enum MacroDelimiter {
Paren(Paren),
Brace(Brace),
Bracket(Bracket),
}
Expand description
A grouping token that surrounds a macro body: m!(...)
or m!{...}
or m![...]
.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for MacroDelimiter
impl Clone for MacroDelimiter
source§impl Debug for MacroDelimiter
impl Debug for MacroDelimiter
source§impl Hash for MacroDelimiter
impl Hash for MacroDelimiter
source§impl PartialEq for MacroDelimiter
impl PartialEq for MacroDelimiter
impl Eq for MacroDelimiter
Auto Trait Implementations§
impl RefUnwindSafe for MacroDelimiter
impl !Send for MacroDelimiter
impl !Sync for MacroDelimiter
impl Unpin for MacroDelimiter
impl UnwindSafe for MacroDelimiter
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