pub struct RewriteInfo {
pub transform_kind: &'static str,
pub body_bytes: usize,
}Expand description
The rewrite span: what the body transform did (in shapes).
Fields§
§transform_kind: &'static strThe transform kind label, e.g. "inject+construct_id".
body_bytes: usizeThe transformed body size in bytes (a size, never the bytes).
Trait Implementations§
Source§impl Clone for RewriteInfo
impl Clone for RewriteInfo
Source§fn clone(&self) -> RewriteInfo
fn clone(&self) -> RewriteInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RewriteInfo
impl Debug for RewriteInfo
impl Eq for RewriteInfo
Source§impl PartialEq for RewriteInfo
impl PartialEq for RewriteInfo
Source§fn eq(&self, other: &RewriteInfo) -> bool
fn eq(&self, other: &RewriteInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RewriteInfo
Auto Trait Implementations§
impl Freeze for RewriteInfo
impl RefUnwindSafe for RewriteInfo
impl Send for RewriteInfo
impl Sync for RewriteInfo
impl Unpin for RewriteInfo
impl UnsafeUnpin for RewriteInfo
impl UnwindSafe for RewriteInfo
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