pub struct CellGridOptions {
pub maximum_cell_count: usize,
pub edge_growth_factor: f32,
}Expand description
Memory and coarsening policy for contiguous cell grids.
Fields§
§maximum_cell_count: usizeMaximum number of allocated grid cells.
edge_growth_factor: f32Edge multiplier used when a grid exceeds the cell budget.
Implementations§
Source§impl CellGridOptions
impl CellGridOptions
Sourcepub const MEMORY_BALANCED: Self
pub const MEMORY_BALANCED: Self
General-purpose profile used by Default.
Trait Implementations§
Source§impl Clone for CellGridOptions
impl Clone for CellGridOptions
impl Copy for CellGridOptions
Source§impl Debug for CellGridOptions
impl Debug for CellGridOptions
Source§impl Default for CellGridOptions
impl Default for CellGridOptions
Source§impl PartialEq for CellGridOptions
impl PartialEq for CellGridOptions
impl StructuralPartialEq for CellGridOptions
Auto Trait Implementations§
impl Freeze for CellGridOptions
impl RefUnwindSafe for CellGridOptions
impl Send for CellGridOptions
impl Sync for CellGridOptions
impl Unpin for CellGridOptions
impl UnsafeUnpin for CellGridOptions
impl UnwindSafe for CellGridOptions
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more