pub struct Legend {
pub text: String,
pub font_size: f32,
pub font_family: String,
pub font_color: Option<Color>,
pub stroke_color: Option<Color>,
pub fill: Option<Color>,
pub left: f32,
pub top: f32,
pub category: LegendCategory,
}Fields§
§text: String§font_size: f32§font_family: String§font_color: Option<Color>§stroke_color: Option<Color>§fill: Option<Color>§left: f32§top: f32§category: LegendCategoryImplementations§
Trait Implementations§
source§impl PartialEq<Legend> for Legend
impl PartialEq<Legend> for Legend
impl StructuralPartialEq for Legend
Auto Trait Implementations§
impl RefUnwindSafe for Legend
impl Send for Legend
impl Sync for Legend
impl Unpin for Legend
impl UnwindSafe for Legend
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