pub struct LayoutCalculator { /* private fields */ }Implementations§
Source§impl LayoutCalculator
impl LayoutCalculator
pub fn new() -> Self
pub fn calculate_layout(&mut self, class: &DomainClass) -> MemoryLayout
pub fn get_layout(&self, class_name: &str) -> Option<&MemoryLayout>
Trait Implementations§
Source§impl Debug for LayoutCalculator
impl Debug for LayoutCalculator
Source§impl Default for LayoutCalculator
impl Default for LayoutCalculator
Source§fn default() -> LayoutCalculator
fn default() -> LayoutCalculator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LayoutCalculator
impl RefUnwindSafe for LayoutCalculator
impl Send for LayoutCalculator
impl Sync for LayoutCalculator
impl Unpin for LayoutCalculator
impl UnwindSafe for LayoutCalculator
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