pub struct RetainedSize {
pub symbol: ArtifactFingerprint,
pub retained_bytes: u64,
}Expand description
The bytes exclusively retained by one reachable symbol’s dominator region.
Fields§
§symbol: ArtifactFingerprintThe symbol whose removal makes the dominated region unreachable.
retained_bytes: u64Sum of observed code sizes in its dominated region.
Trait Implementations§
Source§impl Clone for RetainedSize
impl Clone for RetainedSize
Source§fn clone(&self) -> RetainedSize
fn clone(&self) -> RetainedSize
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 RetainedSize
impl Debug for RetainedSize
Source§impl<'de> Deserialize<'de> for RetainedSize
impl<'de> Deserialize<'de> for RetainedSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RetainedSize
Source§impl PartialEq for RetainedSize
impl PartialEq for RetainedSize
Source§impl Serialize for RetainedSize
impl Serialize for RetainedSize
impl StructuralPartialEq for RetainedSize
Auto Trait Implementations§
impl Freeze for RetainedSize
impl RefUnwindSafe for RetainedSize
impl Send for RetainedSize
impl Sync for RetainedSize
impl Unpin for RetainedSize
impl UnsafeUnpin for RetainedSize
impl UnwindSafe for RetainedSize
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.