pub enum ContourBandStylePolicy {
Uniform(ShapeStyle),
Ordered(Vec<ShapeStyle>),
ByBand(Arc<dyn Fn(usize, Option<f64>, Option<f64>) -> ShapeStyle + Send + Sync>),
}Variants§
Uniform(ShapeStyle)
Ordered(Vec<ShapeStyle>)
ByBand(Arc<dyn Fn(usize, Option<f64>, Option<f64>) -> ShapeStyle + Send + Sync>)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ContourBandStylePolicy
impl !UnwindSafe for ContourBandStylePolicy
impl Freeze for ContourBandStylePolicy
impl Send for ContourBandStylePolicy
impl Sync for ContourBandStylePolicy
impl Unpin for ContourBandStylePolicy
impl UnsafeUnpin for ContourBandStylePolicy
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