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![...]
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Variants§
Trait Implementations§
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