pub struct AstReplace {
pub pattern: String,
pub template: AstCode,
}Fields§
§pattern: String§template: AstCodeTrait Implementations§
Source§impl Clone for AstReplace
impl Clone for AstReplace
Source§fn clone(&self) -> AstReplace
fn clone(&self) -> AstReplace
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 AstReplace
impl Debug for AstReplace
Source§impl Default for AstReplace
impl Default for AstReplace
Source§fn default() -> AstReplace
fn default() -> AstReplace
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AstReplace
impl RefUnwindSafe for AstReplace
impl Send for AstReplace
impl Sync for AstReplace
impl Unpin for AstReplace
impl UnsafeUnpin for AstReplace
impl UnwindSafe for AstReplace
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