pub struct ContourConfig {
pub interval: f64,
pub base: f64,
pub nodata: Option<f64>,
}Expand description
Configuration for contour generation
Fields§
§interval: f64Contour interval (must be > 0)
base: f64Base level (default 0.0)
nodata: Option<f64>Nodata value to skip
Implementations§
Trait Implementations§
Source§impl Clone for ContourConfig
impl Clone for ContourConfig
Source§fn clone(&self) -> ContourConfig
fn clone(&self) -> ContourConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ContourConfig
impl RefUnwindSafe for ContourConfig
impl Send for ContourConfig
impl Sync for ContourConfig
impl Unpin for ContourConfig
impl UnsafeUnpin for ContourConfig
impl UnwindSafe for ContourConfig
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