pub struct PyramidOptions {
pub method: ResamplingMethod,
pub min_dimension: u32,
pub max_levels: u8,
}Fields§
§method: ResamplingMethodResampling kernel to use for each downsample step. Default
Average (good for continuous imagery); use Mode for
categorical / classification rasters.
min_dimension: u32Stop adding levels once both dimensions are ≤ this. Default 256.
max_levels: u8Hard cap on the number of overview levels (excludes level 0). Default 16 (covers global → 256×256 thumbnail).
Trait Implementations§
Source§impl Clone for PyramidOptions
impl Clone for PyramidOptions
Source§fn clone(&self) -> PyramidOptions
fn clone(&self) -> PyramidOptions
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 PyramidOptions
impl Debug for PyramidOptions
Auto Trait Implementations§
impl Freeze for PyramidOptions
impl RefUnwindSafe for PyramidOptions
impl Send for PyramidOptions
impl Sync for PyramidOptions
impl Unpin for PyramidOptions
impl UnsafeUnpin for PyramidOptions
impl UnwindSafe for PyramidOptions
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