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§
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 Freeze for MacroDelimiter
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)