pub struct EtaRewriteRule {
pub lhs: String,
pub rhs: String,
}Expand description
Represents a rewrite rule lhs → rhs.
Fields§
§lhs: StringThe left-hand side pattern.
rhs: StringThe right-hand side template.
Implementations§
Auto Trait Implementations§
impl Freeze for EtaRewriteRule
impl RefUnwindSafe for EtaRewriteRule
impl Send for EtaRewriteRule
impl Sync for EtaRewriteRule
impl Unpin for EtaRewriteRule
impl UnsafeUnpin for EtaRewriteRule
impl UnwindSafe for EtaRewriteRule
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