pub struct Macro { /* private fields */ }Implementations§
Source§impl Macro
impl Macro
pub fn function<'a>(&self) -> StringView<'a>
pub fn argument_count(&self) -> usize
pub fn is_receiver_style(&self) -> bool
pub fn is_variadic(&self) -> bool
pub fn key<'a>(&self) -> StringView<'a>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Macro
impl RefUnwindSafe for Macro
impl !Unpin for Macro
impl UnwindSafe for Macro
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