pub struct MemoryLayoutAnalyzer { /* private fields */ }Expand description
Memory layout analyzer
Implementations§
Source§impl MemoryLayoutAnalyzer
impl MemoryLayoutAnalyzer
Sourcepub fn new(hw_caps: HardwareCapabilities) -> Self
pub fn new(hw_caps: HardwareCapabilities) -> Self
Create a new analyzer
Sourcepub fn analyze(&self, component: &Component) -> Result<MemoryLayout>
pub fn analyze(&self, component: &Component) -> Result<MemoryLayout>
Analyze a component and generate memory layout
Auto Trait Implementations§
impl Freeze for MemoryLayoutAnalyzer
impl RefUnwindSafe for MemoryLayoutAnalyzer
impl Send for MemoryLayoutAnalyzer
impl Sync for MemoryLayoutAnalyzer
impl Unpin for MemoryLayoutAnalyzer
impl UnsafeUnpin for MemoryLayoutAnalyzer
impl UnwindSafe for MemoryLayoutAnalyzer
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