struct TableLayout {
    size: usize,
    ctrl_align: usize,
}Expand description
Helper which allows the max calculation for ctrl_align to be statically computed for each T
while keeping the rest of calculate_layout_for independent of T
Fields§
§size: usize§ctrl_align: usizeImplementations§
Trait Implementations§
Source§impl Clone for TableLayout
 
impl Clone for TableLayout
Source§fn clone(&self) -> TableLayout
 
fn clone(&self) -> TableLayout
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 moreimpl Copy for TableLayout
Auto Trait Implementations§
impl Freeze for TableLayout
impl RefUnwindSafe for TableLayout
impl Send for TableLayout
impl Sync for TableLayout
impl Unpin for TableLayout
impl UnwindSafe for TableLayout
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