pub struct ChartGeometry {
pub plot_bounds: Rect,
pub elements: Vec<PositionedElement>,
}Expand description
Backend-neutral plot geometry and the plot rectangle reserved inside a chart.
Fields§
§plot_bounds: Rect§elements: Vec<PositionedElement>Trait Implementations§
Source§impl Clone for ChartGeometry
impl Clone for ChartGeometry
Source§fn clone(&self) -> ChartGeometry
fn clone(&self) -> ChartGeometry
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 ChartGeometry
impl RefUnwindSafe for ChartGeometry
impl Send for ChartGeometry
impl Sync for ChartGeometry
impl Unpin for ChartGeometry
impl UnsafeUnpin for ChartGeometry
impl UnwindSafe for ChartGeometry
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