pub struct PageConfig {
pub min_page_size: u32,
pub max_page_size: u32,
}Expand description
The bounds page sizing works between.
Separate from the adapter’s capabilities because both halves are policy: the floor trades memory for fewer allocations, the ceiling trades scenes the scheduler will serve for a bound on peak memory. The adapter’s own limit is applied on top of the ceiling and can only lower it.
Fields§
§min_page_size: u32Smallest page to ask for, per axis.
max_page_size: u32Largest page to ask for, per axis, before the adapter’s ceiling.
Trait Implementations§
Source§impl Clone for PageConfig
impl Clone for PageConfig
impl Copy for PageConfig
Source§impl Debug for PageConfig
impl Debug for PageConfig
Source§impl Default for PageConfig
impl Default for PageConfig
impl Eq for PageConfig
Source§impl PartialEq for PageConfig
impl PartialEq for PageConfig
impl StructuralPartialEq for PageConfig
Auto Trait Implementations§
impl Freeze for PageConfig
impl RefUnwindSafe for PageConfig
impl Send for PageConfig
impl Sync for PageConfig
impl Unpin for PageConfig
impl UnsafeUnpin for PageConfig
impl UnwindSafe for PageConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.