pub struct LineAnnotation { /* private fields */ }
Implementations§
§impl LineAnnotation
impl LineAnnotation
pub fn new() -> Self
pub fn get_border_color(&mut self) -> &mut String
pub fn border_color(self, value: impl Into<String>) -> LineAnnotation
pub fn get_border_dash(&mut self) -> &mut Vec<NumberString>
pub fn border_dash<T: Into<NumberString>>( self, value: impl IntoIterator<Item = T>, ) -> LineAnnotation
pub fn get_border_width(&mut self) -> &mut Option<NumberStringOrT<Border>>
pub fn border_width( self, value: impl Into<NumberStringOrT<Border>>, ) -> LineAnnotation
pub fn get_draw_time(&mut self) -> &mut String
pub fn draw_time(self, value: impl Into<String>) -> LineAnnotation
pub fn get_label(&mut self) -> &mut Option<LabelAnnotation>
pub fn label(self, value: impl Into<LabelAnnotation>) -> LineAnnotation
pub fn get_annotation_type(&mut self) -> &mut LineAnnotationType
pub fn annotation_type( self, value: impl Into<LineAnnotationType>, ) -> LineAnnotation
pub fn get_x_max(&mut self) -> &mut NumberOrDateString
pub fn x_max(self, value: impl Into<NumberOrDateString>) -> LineAnnotation
pub fn get_x_min(&mut self) -> &mut NumberOrDateString
pub fn x_min(self, value: impl Into<NumberOrDateString>) -> LineAnnotation
pub fn get_y_max(&mut self) -> &mut NumberOrDateString
pub fn y_max(self, value: impl Into<NumberOrDateString>) -> LineAnnotation
pub fn get_y_min(&mut self) -> &mut NumberOrDateString
pub fn y_min(self, value: impl Into<NumberOrDateString>) -> LineAnnotation
pub fn get_y_scale_id(&mut self) -> &mut NumberString
pub fn y_scale_id(self, value: impl Into<NumberString>) -> LineAnnotation
Trait Implementations§
Source§impl Clone for LineAnnotation
impl Clone for LineAnnotation
Source§fn clone(&self) -> LineAnnotation
fn clone(&self) -> LineAnnotation
Returns a duplicate 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 LineAnnotation
impl Debug for LineAnnotation
Source§impl Default for LineAnnotation
impl Default for LineAnnotation
Source§fn default() -> LineAnnotation
fn default() -> LineAnnotation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LineAnnotation
impl<'de> Deserialize<'de> for LineAnnotation
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 From<LineAnnotation> for Annotation
impl From<LineAnnotation> for Annotation
Source§fn from(value: LineAnnotation) -> Self
fn from(value: LineAnnotation) -> Self
Converts to this type from the input type.
Source§impl Ord for LineAnnotation
impl Ord for LineAnnotation
Source§fn cmp(&self, other: &LineAnnotation) -> Ordering
fn cmp(&self, other: &LineAnnotation) -> 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 LineAnnotation
impl PartialEq for LineAnnotation
Source§impl PartialOrd for LineAnnotation
impl PartialOrd for LineAnnotation
Source§impl Serialize for LineAnnotation
impl Serialize for LineAnnotation
impl Eq for LineAnnotation
impl StructuralPartialEq for LineAnnotation
Auto Trait Implementations§
impl Freeze for LineAnnotation
impl RefUnwindSafe for LineAnnotation
impl Send for LineAnnotation
impl Sync for LineAnnotation
impl Unpin for LineAnnotation
impl UnwindSafe for LineAnnotation
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