Struct chart_js_rs::types::LineAnnotation
source · [−]pub struct LineAnnotation {
pub type: Option<String>,
pub drawTime: Option<String>,
pub xMin: Option<NumberOrDateString>,
pub xMax: Option<NumberOrDateString>,
pub borderColor: Option<String>,
pub borderDash: Option<Vec<NumberString>>,
pub borderWidth: Option<NumberString>,
}Fields
type: Option<String>drawTime: Option<String>xMin: Option<NumberOrDateString>xMax: Option<NumberOrDateString>borderColor: Option<String>borderDash: Option<Vec<NumberString>>borderWidth: Option<NumberString>Trait Implementations
sourceimpl Clone for LineAnnotation
impl Clone for LineAnnotation
sourcefn clone(&self) -> LineAnnotation
fn clone(&self) -> LineAnnotation
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for LineAnnotation
impl Debug for LineAnnotation
sourceimpl Default for LineAnnotation
impl Default for LineAnnotation
sourcefn default() -> LineAnnotation
fn default() -> LineAnnotation
Returns the “default value” for a type. Read more
sourceimpl Serialize for LineAnnotation
impl Serialize for LineAnnotation
impl Annotation for LineAnnotation
Auto Trait Implementations
impl RefUnwindSafe for LineAnnotation
impl Send for LineAnnotation
impl Sync for LineAnnotation
impl Unpin for LineAnnotation
impl UnwindSafe for LineAnnotation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more