pub struct MacroSubst {
pub var: String,
pub value: String,
}Expand description
A macro substitution record.
Fields§
§var: StringVariable name
value: StringSubstituted value
Implementations§
Trait Implementations§
Source§impl Clone for MacroSubst
impl Clone for MacroSubst
Source§fn clone(&self) -> MacroSubst
fn clone(&self) -> MacroSubst
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 moreAuto Trait Implementations§
impl Freeze for MacroSubst
impl RefUnwindSafe for MacroSubst
impl Send for MacroSubst
impl Sync for MacroSubst
impl Unpin for MacroSubst
impl UnsafeUnpin for MacroSubst
impl UnwindSafe for MacroSubst
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