EnhancedTrackable

Trait EnhancedTrackable 

Source
pub trait EnhancedTrackable {
    // Required methods
    fn get_pointer_info(&self) -> PointerInfo;
    fn get_size_estimate(&self) -> usize;
    fn get_type_info(&self) -> TypeInfo;
}
Expand description

Enhanced Trackable trait with pointer info

Required Methods§

Source

fn get_pointer_info(&self) -> PointerInfo

Get enhanced pointer information

Source

fn get_size_estimate(&self) -> usize

Get size estimate for the tracked data

Source

fn get_type_info(&self) -> TypeInfo

Get type information

Implementations on Foreign Types§

Source§

impl EnhancedTrackable for String

Source§

impl<T> EnhancedTrackable for Box<T>

Source§

impl<T> EnhancedTrackable for Vec<T>

Implementors§