pub struct LegendGeometry {
pub entries: Vec<LegendEntry>,
}Expand description
Layout of the legend.
Fields§
§entries: Vec<LegendEntry>Legend entries with color swatches.
Trait Implementations§
Source§impl Clone for LegendGeometry
impl Clone for LegendGeometry
Source§fn clone(&self) -> LegendGeometry
fn clone(&self) -> LegendGeometry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LegendGeometry
impl Debug for LegendGeometry
Source§impl PartialEq for LegendGeometry
impl PartialEq for LegendGeometry
impl StructuralPartialEq for LegendGeometry
Auto Trait Implementations§
impl Freeze for LegendGeometry
impl RefUnwindSafe for LegendGeometry
impl Send for LegendGeometry
impl Sync for LegendGeometry
impl Unpin for LegendGeometry
impl UnsafeUnpin for LegendGeometry
impl UnwindSafe for LegendGeometry
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