pub struct ChartAnnotation {
pub text: String,
pub position: (f64, f64),
pub annotation_type: AnnotationType,
}Expand description
Chart annotation
Fields§
§text: StringAnnotation text
position: (f64, f64)Position
annotation_type: AnnotationTypeAnnotation type
Trait Implementations§
Source§impl Clone for ChartAnnotation
impl Clone for ChartAnnotation
Source§fn clone(&self) -> ChartAnnotation
fn clone(&self) -> ChartAnnotation
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 moreAuto Trait Implementations§
impl Freeze for ChartAnnotation
impl RefUnwindSafe for ChartAnnotation
impl Send for ChartAnnotation
impl Sync for ChartAnnotation
impl Unpin for ChartAnnotation
impl UnwindSafe for ChartAnnotation
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