Struct chart_js_rs::types::BoxAnnotation
source · [−]pub struct BoxAnnotation {
pub type: Option<String>,
pub drawTime: Option<String>,
pub xMin: Option<String>,
pub xMax: Option<String>,
pub yMin: Option<String>,
pub yMax: Option<String>,
pub borderColor: Option<String>,
pub backgroundColor: Option<String>,
pub borderDash: Option<Vec<NumberString>>,
pub borderWidth: Option<NumberString>,
}Fields
type: Option<String>drawTime: Option<String>xMin: Option<String>xMax: Option<String>yMin: Option<String>yMax: Option<String>borderColor: Option<String>backgroundColor: Option<String>borderDash: Option<Vec<NumberString>>borderWidth: Option<NumberString>Trait Implementations
sourceimpl Clone for BoxAnnotation
impl Clone for BoxAnnotation
sourcefn clone(&self) -> BoxAnnotation
fn clone(&self) -> BoxAnnotation
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 BoxAnnotation
impl Debug for BoxAnnotation
sourceimpl Default for BoxAnnotation
impl Default for BoxAnnotation
sourcefn default() -> BoxAnnotation
fn default() -> BoxAnnotation
Returns the “default value” for a type. Read more
sourceimpl Serialize for BoxAnnotation
impl Serialize for BoxAnnotation
impl Annotation for BoxAnnotation
Auto Trait Implementations
impl RefUnwindSafe for BoxAnnotation
impl Send for BoxAnnotation
impl Sync for BoxAnnotation
impl Unpin for BoxAnnotation
impl UnwindSafe for BoxAnnotation
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