pub struct MacroVarExt {
pub name: String,
pub is_rep: bool,
}Expand description
A macro template variable.
Fields§
§name: StringVariable name
is_rep: boolWhether this is a repetition variable
Implementations§
Trait Implementations§
Source§impl Clone for MacroVarExt
impl Clone for MacroVarExt
Source§fn clone(&self) -> MacroVarExt
fn clone(&self) -> MacroVarExt
Returns a duplicate 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 MacroVarExt
impl Debug for MacroVarExt
Source§impl Hash for MacroVarExt
impl Hash for MacroVarExt
Source§impl PartialEq for MacroVarExt
impl PartialEq for MacroVarExt
impl Eq for MacroVarExt
impl StructuralPartialEq for MacroVarExt
Auto Trait Implementations§
impl Freeze for MacroVarExt
impl RefUnwindSafe for MacroVarExt
impl Send for MacroVarExt
impl Sync for MacroVarExt
impl Unpin for MacroVarExt
impl UnsafeUnpin for MacroVarExt
impl UnwindSafe for MacroVarExt
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