pub struct LegendManager;Expand description
Legend management utilities
Implementations§
Source§impl LegendManager
impl LegendManager
Sourcepub fn setup(location: LegendLocation, flags: LegendFlags)
pub fn setup(location: LegendLocation, flags: LegendFlags)
Setup legend with custom position and flags
Sourcepub fn begin_custom(
label: &str,
_size: [f32; 2],
) -> Result<LegendToken, PlotError>
pub fn begin_custom( label: &str, _size: [f32; 2], ) -> Result<LegendToken, PlotError>
Begin a custom legend
Auto Trait Implementations§
impl Freeze for LegendManager
impl RefUnwindSafe for LegendManager
impl Send for LegendManager
impl Sync for LegendManager
impl Unpin for LegendManager
impl UnwindSafe for LegendManager
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