use heim_common::units::Information;
pub trait MemoryExt {
fn shared(&self) -> Information;
fn text(&self) -> Information;
fn data(&self) -> Information;
}
#[cfg(target_os = "linux")]
impl MemoryExt for crate::Memory {
fn shared(&self) -> Information {
self.as_ref().shared()
}
fn text(&self) -> Information {
self.as_ref().text()
}
fn data(&self) -> Information {
self.as_ref().data()
}
}