Struct hashbrown::raw::inner::TableLayout
source · 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: usize
Implementations§
Trait Implementations§
source§impl Clone for TableLayout
impl Clone for TableLayout
source§fn clone(&self) -> TableLayout
fn clone(&self) -> TableLayout
Returns a copy 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