pub struct BuiltLayer {
pub data: DataFrame,
pub geom: Box<dyn Geom>,
pub show_legend: Option<bool>,
pub key_glyph: Option<KeyGlyph>,
pub show_legend_aes: Vec<(Aesthetic, bool)>,
}Expand description
A built layer ready for rendering.
Fields§
§data: DataFrame§geom: Box<dyn Geom>§show_legend: Option<bool>§key_glyph: Option<KeyGlyph>Legend key glyph (the layer’s override, else the geom’s).
show_legend_aes: Vec<(Aesthetic, bool)>Per-aesthetic show.legend overrides.
Auto Trait Implementations§
impl !RefUnwindSafe for BuiltLayer
impl !UnwindSafe for BuiltLayer
impl Forget for BuiltLayer
impl Freeze for BuiltLayerwhere
*const u8 is !null: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Vec<Value>>>: Freeze,
PhantomData<String>: Freeze,
*const dyn Geom is !null: Freeze,
PhantomData<dyn Geom>: Freeze,
PhantomData<(Aesthetic, bool)>: Freeze,
impl Move for BuiltLayer
impl Send for BuiltLayer
impl Sync for BuiltLayer
impl Unpin for BuiltLayer
impl UnsafeUnpin for BuiltLayerwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Vec<Value>>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const dyn Geom is !null: UnsafeUnpin,
PhantomData<dyn Geom>: UnsafeUnpin,
PhantomData<(Aesthetic, bool)>: UnsafeUnpin,
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
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