pub struct RetainedMeta {
pub policy: RetentionPolicy,
pub size: usize,
pub tag: Option<&'static str>,
pub type_name: &'static str,
}Expand description
Metadata for a retained frame allocation.
Fields§
§policy: RetentionPolicyThe retention policy
size: usizeSize in bytes
tag: Option<&'static str>Allocation tag (if any)
type_name: &'static strType name (for diagnostics)
Trait Implementations§
Source§impl Clone for RetainedMeta
impl Clone for RetainedMeta
Source§fn clone(&self) -> RetainedMeta
fn clone(&self) -> RetainedMeta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RetainedMeta
impl RefUnwindSafe for RetainedMeta
impl Send for RetainedMeta
impl Sync for RetainedMeta
impl Unpin for RetainedMeta
impl UnwindSafe for RetainedMeta
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