pub struct LegendConfig {
pub symbol_size: f64,
pub symbol_text_gap: f64,
pub item_padding: f64,
pub row_height: f64,
pub max_rows: usize,
pub max_label_chars: usize,
pub alignment: LegendAlignment,
}Expand description
Legend layout configuration.
Fields§
§symbol_size: f64§symbol_text_gap: f64§item_padding: f64§row_height: f64§max_rows: usize§max_label_chars: usize§alignment: LegendAlignmentTrait Implementations§
Auto Trait Implementations§
impl Freeze for LegendConfig
impl RefUnwindSafe for LegendConfig
impl Send for LegendConfig
impl Sync for LegendConfig
impl Unpin for LegendConfig
impl UnsafeUnpin for LegendConfig
impl UnwindSafe for LegendConfig
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