pub struct BuiltPlot {
pub layers: Vec<BuiltLayer>,
pub scales: ScaleSet,
pub coord: Box<dyn Coord>,
pub theme: Theme,
pub labels: Labels,
pub facet: Facet,
pub panels: Vec<Panel>,
pub panels_data: Vec<Vec<DataFrame>>,
pub annotations: Vec<Annotation>,
pub guide_legend: GuideLegend,
pub suppressed_aes: HashSet<Aesthetic>,
pub panel_scales: Vec<ScaleSet>,
}Expand description
A fully built plot ready for rendering.
Fields§
§layers: Vec<BuiltLayer>§scales: ScaleSet§coord: Box<dyn Coord>§theme: Theme§labels: Labels§facet: Facet§panels: Vec<Panel>§panels_data: Vec<Vec<DataFrame>>Per-panel layer data. panels_data[panel_idx][layer_idx] = data for that panel+layer.
annotations: Vec<Annotation>§guide_legend: GuideLegend§suppressed_aes: HashSet<Aesthetic>Aesthetics suppressed from the legend (all layers with that aes set show_legend=false).
panel_scales: Vec<ScaleSet>Per-panel scale sets for free facets. Empty when FacetScales::Fixed.
Auto Trait Implementations§
impl !RefUnwindSafe for BuiltPlot
impl !UnwindSafe for BuiltPlot
impl Freeze for BuiltPlot
impl Send for BuiltPlot
impl Sync for BuiltPlot
impl Unpin for BuiltPlot
impl UnsafeUnpin for BuiltPlot
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