pub struct Rewrite {
pub before: String,
pub after: String,
pub pinning: Pinning,
}Expand description
Record of one rewrite the pass performed. Useful for tracing:
noether run --trace-resolution can print the before/after pairs.
Fields§
§before: String§after: String§pinning: PinningTrait Implementations§
impl StructuralPartialEq for Rewrite
Auto Trait Implementations§
impl Freeze for Rewrite
impl RefUnwindSafe for Rewrite
impl Send for Rewrite
impl Sync for Rewrite
impl Unpin for Rewrite
impl UnsafeUnpin for Rewrite
impl UnwindSafe for Rewrite
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