pub enum LayoutPolicy {
Soa,
AoSoA {
lanes: u8,
},
}Expand description
How a component column is physically laid out in memory.
AGDF (adaptive data layout) adapts this per component as Data
self-maintenance, observed by the DCC. The default is plain Soa, so this
descriptor is inert until an actual repack happens — adding it changes
no behaviour.
Variants§
Soa
Structure-of-Arrays: one contiguous Vec<T> (today’s only layout).
AoSoA
Array-of-Structures-of-Arrays: SIMD-friendly tiles of lanes elements.
Trait Implementations§
Source§impl Clone for LayoutPolicy
impl Clone for LayoutPolicy
Source§fn clone(&self) -> LayoutPolicy
fn clone(&self) -> LayoutPolicy
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 moreSource§impl Debug for LayoutPolicy
impl Debug for LayoutPolicy
Source§impl Default for LayoutPolicy
impl Default for LayoutPolicy
Source§fn default() -> LayoutPolicy
fn default() -> LayoutPolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for LayoutPolicy
impl PartialEq for LayoutPolicy
Source§fn eq(&self, other: &LayoutPolicy) -> bool
fn eq(&self, other: &LayoutPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LayoutPolicy
impl Eq for LayoutPolicy
impl StructuralPartialEq for LayoutPolicy
Auto Trait Implementations§
impl Freeze for LayoutPolicy
impl RefUnwindSafe for LayoutPolicy
impl Send for LayoutPolicy
impl Sync for LayoutPolicy
impl Unpin for LayoutPolicy
impl UnsafeUnpin for LayoutPolicy
impl UnwindSafe for LayoutPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.