pub struct PlotLayout {
pub total: Rect,
pub plot_area: Rect,
pub title_area: Rect,
pub subtitle_area: Rect,
pub caption_area: Rect,
pub x_axis_area: Rect,
pub y_axis_area: Rect,
pub legend_area: Rect,
}Expand description
Computed layout areas for the plot.
Fields§
§total: Rect§plot_area: Rect§title_area: Rect§subtitle_area: Rect§caption_area: Rect§x_axis_area: Rect§y_axis_area: Rect§legend_area: RectImplementations§
Auto Trait Implementations§
impl Freeze for PlotLayout
impl RefUnwindSafe for PlotLayout
impl Send for PlotLayout
impl Sync for PlotLayout
impl Unpin for PlotLayout
impl UnsafeUnpin for PlotLayout
impl UnwindSafe for PlotLayout
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more