Enum macro_tools::exposed::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§fn clone(&self) -> MacroDelimiter
fn clone(&self) -> MacroDelimiter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§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
source§fn eq(&self, other: &MacroDelimiter) -> bool
fn eq(&self, other: &MacroDelimiter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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<S> AssignWithType for S
impl<S> AssignWithType for S
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