pub struct ChartDrawing {
pub shapes: Vec<Shape>,
pub labels: Vec<ChartLabel>,
}Expand description
What a chart draws.
Fields§
§shapes: Vec<Shape>The shapes, back to front.
labels: Vec<ChartLabel>The text, to draw over the shapes.
Trait Implementations§
Source§impl Clone for ChartDrawing
impl Clone for ChartDrawing
Source§fn clone(&self) -> ChartDrawing
fn clone(&self) -> ChartDrawing
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 moreSource§impl Debug for ChartDrawing
impl Debug for ChartDrawing
Source§impl Default for ChartDrawing
impl Default for ChartDrawing
Source§fn default() -> ChartDrawing
fn default() -> ChartDrawing
Returns the “default value” for a type. Read more
Source§impl From<ChartDrawing> for Plot
impl From<ChartDrawing> for Plot
Source§fn from(drawing: ChartDrawing) -> Self
fn from(drawing: ChartDrawing) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChartDrawing
impl PartialEq for ChartDrawing
impl StructuralPartialEq for ChartDrawing
Auto Trait Implementations§
impl Freeze for ChartDrawing
impl RefUnwindSafe for ChartDrawing
impl Send for ChartDrawing
impl Sync for ChartDrawing
impl Unpin for ChartDrawing
impl UnsafeUnpin for ChartDrawing
impl UnwindSafe for ChartDrawing
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