pub struct LegendLabel { /* private fields */ }
Implementations§
§impl LegendLabel
impl LegendLabel
pub fn new() -> Self
pub fn get_box_height(&mut self) -> &mut Option<u32>
pub fn box_height(self, value: u32) -> LegendLabel
pub fn get_box_width(&mut self) -> &mut Option<u32>
pub fn box_width(self, value: u32) -> LegendLabel
pub fn get_filter(&mut self) -> &mut FnWithArgs<2>
pub fn filter(self, value: impl Into<FnWithArgs<2>>) -> LegendLabel
pub fn get_font(&mut self) -> &mut Option<Font>
pub fn font(self, value: impl Into<Font>) -> LegendLabel
pub fn get_point_style(&mut self) -> &mut String
pub fn point_style(self, value: impl Into<String>) -> LegendLabel
pub fn get_point_style_width(&mut self) -> &mut NumberString
pub fn point_style_width(self, value: impl Into<NumberString>) -> LegendLabel
pub fn get_use_border_radius(&mut self) -> &mut Option<bool>
pub fn use_border_radius(self, value: impl Into<bool>) -> LegendLabel
pub fn get_use_point_style(&mut self) -> &mut Option<bool>
pub fn use_point_style(self, value: impl Into<bool>) -> LegendLabel
Trait Implementations§
source§impl Clone for LegendLabel
impl Clone for LegendLabel
source§fn clone(&self) -> LegendLabel
fn clone(&self) -> LegendLabel
Returns a copy 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 moresource§impl Debug for LegendLabel
impl Debug for LegendLabel
source§impl Default for LegendLabel
impl Default for LegendLabel
source§fn default() -> LegendLabel
fn default() -> LegendLabel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LegendLabel
impl<'de> Deserialize<'de> for LegendLabel
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for LegendLabel
impl Ord for LegendLabel
source§fn cmp(&self, other: &LegendLabel) -> Ordering
fn cmp(&self, other: &LegendLabel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for LegendLabel
impl PartialEq for LegendLabel
source§impl PartialOrd for LegendLabel
impl PartialOrd for LegendLabel
source§impl Serialize for LegendLabel
impl Serialize for LegendLabel
impl Eq for LegendLabel
impl StructuralPartialEq for LegendLabel
Auto Trait Implementations§
impl Freeze for LegendLabel
impl RefUnwindSafe for LegendLabel
impl Send for LegendLabel
impl Sync for LegendLabel
impl Unpin for LegendLabel
impl UnwindSafe for LegendLabel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)