Struct StorageLayout
pub struct StorageLayout {
pub field_count: usize,
pub predictor_count: usize,
pub opaque_words_per_state: usize,
pub opaque_bytes_per_state: usize,
pub staging_words: usize,
pub staging_bytes: usize,
pub presence_bytes: usize,
}Expand description
Storage layout for no-alloc engine.
Fields§
§field_count: usize§predictor_count: usize§opaque_words_per_state: usize§opaque_bytes_per_state: usize§staging_words: usize§staging_bytes: usize§presence_bytes: usizeImplementations§
§impl StorageLayout
impl StorageLayout
pub const fn total_opaque_words(&self) -> usize
pub const fn total_opaque_bytes(&self) -> usize
Trait Implementations§
§impl Clone for StorageLayout
impl Clone for StorageLayout
§fn clone(&self) -> StorageLayout
fn clone(&self) -> StorageLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StorageLayout
§impl Debug for StorageLayout
impl Debug for StorageLayout
§impl Default for StorageLayout
impl Default for StorageLayout
§fn default() -> StorageLayout
fn default() -> StorageLayout
Returns the “default value” for a type. Read more
impl Eq for StorageLayout
§impl PartialEq for StorageLayout
impl PartialEq for StorageLayout
impl StructuralPartialEq for StorageLayout
Auto Trait Implementations§
impl Freeze for StorageLayout
impl RefUnwindSafe for StorageLayout
impl Send for StorageLayout
impl Sync for StorageLayout
impl Unpin for StorageLayout
impl UnsafeUnpin for StorageLayout
impl UnwindSafe for StorageLayout
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