pub struct ContourLabelConfig<'a> { /* private fields */ }Expand description
Formatting, placement, clearance and appearance policy for contour labels.
Implementations§
Source§impl<'a> ContourLabelConfig<'a>
impl<'a> ContourLabelConfig<'a>
pub fn new() -> Self
pub fn mode(self, value: ContourLabelMode) -> Self
pub fn placement(self, value: ContourLabelPlacement) -> Self
pub fn style(self, value: ContourLabelStyle) -> Self
pub fn formatter<F, S>(self, value: F) -> Self
pub fn minimum_visible_length(self, value: f64) -> Self
pub fn endpoint_clearance(self, value: f64) -> Self
pub fn viewport_clearance(self, value: f64) -> Self
pub fn maximum_curvature_degrees(self, value: f64) -> Self
pub fn collision_padding(self, value: f64) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ContourLabelConfig<'a>
impl<'a> !Send for ContourLabelConfig<'a>
impl<'a> !Sync for ContourLabelConfig<'a>
impl<'a> !UnwindSafe for ContourLabelConfig<'a>
impl<'a> Freeze for ContourLabelConfig<'a>
impl<'a> Unpin for ContourLabelConfig<'a>
impl<'a> UnsafeUnpin for ContourLabelConfig<'a>
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