pub struct LineObject {
pub x1: f64,
pub y1: f64,
pub x2: f64,
pub y2: f64,
pub xloc: String,
pub extend: String,
pub color: Option<Color>,
pub style: String,
pub width: f64,
}Expand description
A trend line drawn between two points, (x1, y1)–(x2, y2).
Fields§
§x1: f64§y1: f64§x2: f64§y2: f64§xloc: String§extend: String§color: Option<Color>§style: String§width: f64Trait Implementations§
Source§impl Clone for LineObject
impl Clone for LineObject
Source§fn clone(&self) -> LineObject
fn clone(&self) -> LineObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LineObject
impl RefUnwindSafe for LineObject
impl Send for LineObject
impl Sync for LineObject
impl Unpin for LineObject
impl UnsafeUnpin for LineObject
impl UnwindSafe for LineObject
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