pub enum MacroInvocationKind {
Object,
Function {
args: Vec<Vec<Token>>,
},
}Expand description
マクロ呼び出しの種類
Variants§
Trait Implementations§
Source§impl Clone for MacroInvocationKind
impl Clone for MacroInvocationKind
Source§fn clone(&self) -> MacroInvocationKind
fn clone(&self) -> MacroInvocationKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MacroInvocationKind
impl Debug for MacroInvocationKind
Source§impl PartialEq for MacroInvocationKind
impl PartialEq for MacroInvocationKind
Source§fn eq(&self, other: &MacroInvocationKind) -> bool
fn eq(&self, other: &MacroInvocationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MacroInvocationKind
Auto Trait Implementations§
impl Freeze for MacroInvocationKind
impl RefUnwindSafe for MacroInvocationKind
impl Send for MacroInvocationKind
impl Sync for MacroInvocationKind
impl Unpin for MacroInvocationKind
impl UnsafeUnpin for MacroInvocationKind
impl UnwindSafe for MacroInvocationKind
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