pub struct ContourLabelStyle { /* private fields */ }Implementations§
Source§impl ContourLabelStyle
impl ContourLabelStyle
pub fn new(text: AxisTextStyle) -> Self
pub fn halo<C: Color>(self, color: C, width: u32) -> Self
pub fn without_halo(self) -> Self
pub fn normal_offset(self, pixels: f64) -> Self
pub fn text_style(&self) -> &AxisTextStyle
pub const fn halo_width(&self) -> u32
pub const fn normal_offset_pixels(&self) -> f64
Trait Implementations§
Source§impl Clone for ContourLabelStyle
impl Clone for ContourLabelStyle
Auto Trait Implementations§
impl Freeze for ContourLabelStyle
impl RefUnwindSafe for ContourLabelStyle
impl Send for ContourLabelStyle
impl Sync for ContourLabelStyle
impl Unpin for ContourLabelStyle
impl UnsafeUnpin for ContourLabelStyle
impl UnwindSafe for ContourLabelStyle
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