pub struct RewriteOutput {
pub source: Vec<u8>,
pub changed: bool,
}Fields§
§source: Vec<u8>Modified source bytes. Identical to input when nothing was rewritten.
changed: boolWhether any assert calls were actually rewritten.
Auto Trait Implementations§
impl Forget for RewriteOutput
impl Freeze for RewriteOutput
impl RefUnwindSafe for RewriteOutput
impl Send for RewriteOutput
impl Sync for RewriteOutput
impl Unpin for RewriteOutput
impl UnsafeUnpin for RewriteOutput
impl UnwindSafe for RewriteOutput
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