pub struct GridElement { /* private fields */ }Expand description
A non-plot PlotGrid cell: an SVG fragment (patchwork’s
wrap_elements, #378). The markup is inserted verbatim, so escape any
untrusted text in it. It takes part in the grid’s widths/heights and
tags, and is skipped by AxisCollect and legend collection. In the
output it is a nested <svg x y width height data-cell="i"> (i = its
1-based position among the grid’s plot and element cells, the same count
as a plot’s untagged data-panel) holding the fragment.
Implementations§
Trait Implementations§
Source§impl BitOr<GGPlot> for GridElement
a | b: place side by side (patchwork).
impl BitOr<GGPlot> for GridElement
a | b: place side by side (patchwork).
Source§impl BitOr<GridElement> for GGPlot
a | b: place side by side (patchwork).
impl BitOr<GridElement> for GGPlot
a | b: place side by side (patchwork).
Source§impl BitOr<GridElement> for PlotGrid
a | b: place side by side (patchwork).
impl BitOr<GridElement> for PlotGrid
a | b: place side by side (patchwork).
Source§impl BitOr<PlotGrid> for GridElement
a | b: place side by side (patchwork).
impl BitOr<PlotGrid> for GridElement
a | b: place side by side (patchwork).
Source§impl Div<GGPlot> for GridElement
a / b: stack vertically (patchwork).
impl Div<GGPlot> for GridElement
a / b: stack vertically (patchwork).
Source§impl Div<GridElement> for GGPlot
a / b: stack vertically (patchwork).
impl Div<GridElement> for GGPlot
a / b: stack vertically (patchwork).
Source§impl Div<GridElement> for PlotGrid
a / b: stack vertically (patchwork).
impl Div<GridElement> for PlotGrid
a / b: stack vertically (patchwork).
Source§impl Div<PlotGrid> for GridElement
a / b: stack vertically (patchwork).
impl Div<PlotGrid> for GridElement
a / b: stack vertically (patchwork).
Source§impl From<GridElement> for GridCell
impl From<GridElement> for GridCell
Source§fn from(e: GridElement) -> Self
fn from(e: GridElement) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for GridElement
impl !UnwindSafe for GridElement
impl Freeze for GridElement
impl Send for GridElement
impl Sync for GridElement
impl Unpin for GridElement
impl UnsafeUnpin for GridElement
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
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> ⓘ
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> ⓘ
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