pub struct DataLabels { /* private fields */ }
Implementations§
§impl DataLabels
impl DataLabels
pub fn new() -> Self
pub fn get_align(&mut self) -> &mut FnWithArgsOrAny<1>
pub fn align(self, value: impl Into<FnWithArgsOrAny<1>>) -> DataLabels
pub fn get_anchor(&mut self) -> &mut FnWithArgsOrAny<1>
pub fn anchor(self, value: impl Into<FnWithArgsOrAny<1>>) -> DataLabels
pub fn get_background_color(&mut self) -> &mut FnWithArgsOrAny<1>
pub fn background_color( self, value: impl Into<FnWithArgsOrAny<1>>, ) -> DataLabels
pub fn get_border_radius(&mut self) -> &mut NumberString
pub fn border_radius(self, value: impl Into<NumberString>) -> DataLabels
pub fn get_clamp(&mut self) -> &mut Option<bool>
pub fn clamp(self, value: impl Into<bool>) -> DataLabels
pub fn get_clip(&mut self) -> &mut Option<bool>
pub fn clip(self, value: impl Into<bool>) -> DataLabels
pub fn get_color(&mut self) -> &mut String
pub fn color(self, value: impl Into<String>) -> DataLabels
pub fn get_display(&mut self) -> &mut BoolString
pub fn display(self, value: impl Into<BoolString>) -> DataLabels
pub fn get_draw_time(&mut self) -> &mut NumberString
pub fn draw_time(self, value: impl Into<NumberString>) -> DataLabels
pub fn get_font(&mut self) -> &mut Option<Font>
pub fn font(self, value: impl Into<Font>) -> DataLabels
pub fn get_formatter(&mut self) -> &mut FnWithArgs<2>
pub fn formatter(self, value: FnWithArgs<2>) -> DataLabels
pub fn get_offset(&mut self) -> &mut FnWithArgsOrAny<1>
pub fn offset(self, value: impl Into<FnWithArgsOrAny<1>>) -> DataLabels
pub fn get_opacity(&mut self) -> &mut NumberString
pub fn opacity(self, value: impl Into<NumberString>) -> DataLabels
pub fn get_padding(&mut self) -> &mut Option<Padding>
pub fn padding(self, value: impl Into<Padding>) -> DataLabels
pub fn get_z(&mut self) -> &mut NumberString
pub fn z(self, value: impl Into<NumberString>) -> DataLabels
Trait Implementations§
source§impl Clone for DataLabels
impl Clone for DataLabels
source§fn clone(&self) -> DataLabels
fn clone(&self) -> DataLabels
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 DataLabels
impl Debug for DataLabels
source§impl Default for DataLabels
impl Default for DataLabels
source§fn default() -> DataLabels
fn default() -> DataLabels
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DataLabels
impl<'de> Deserialize<'de> for DataLabels
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 DataLabels
impl Ord for DataLabels
source§fn cmp(&self, other: &DataLabels) -> Ordering
fn cmp(&self, other: &DataLabels) -> 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 DataLabels
impl PartialEq for DataLabels
source§impl PartialOrd for DataLabels
impl PartialOrd for DataLabels
source§impl Serialize for DataLabels
impl Serialize for DataLabels
impl Eq for DataLabels
impl StructuralPartialEq for DataLabels
Auto Trait Implementations§
impl Freeze for DataLabels
impl RefUnwindSafe for DataLabels
impl Send for DataLabels
impl Sync for DataLabels
impl Unpin for DataLabels
impl UnwindSafe for DataLabels
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
)