pub struct Layout {
pub plot: RectPx,
pub price_axis: RectPx,
pub time_axis: RectPx,
}Expand description
Rectangles of the last built layout, in physical pixels. Per-pane
rectangles are available from Chart::pane_layout.
Fields§
§plot: RectPxThe plot area of the main (top) pane.
price_axis: RectPxThe right price axis, over all panes.
time_axis: RectPxThe time axis at the bottom.
Trait Implementations§
impl Copy for Layout
impl StructuralPartialEq for Layout
Auto Trait Implementations§
impl Forget for Layout
impl Freeze for Layout
impl Move for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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