pub struct Legend { /* private fields */ }Implementations
sourceimpl Legend
impl Legend
pub fn background_color(self, value: impl Color) -> Self
pub fn border_color(self, value: impl Color) -> Self
pub fn border_width(self, value: usize) -> Self
pub fn font(self, value: Font) -> Self
pub fn orientation(self, value: Orientation) -> Self
pub fn trace_order(self, value: TraceOrder) -> Self
pub fn trace_group_gap(self, value: usize) -> Self
pub fn item_sizing(self, value: ItemSizing) -> Self
pub fn item_click(self, value: ItemClick) -> Self
pub fn item_double_click(self, value: ItemClick) -> Self
pub fn x(self, value: f64) -> Self
pub fn x_anchor(self, value: Anchor) -> Self
pub fn y(self, value: f64) -> Self
pub fn y_anchor(self, value: Anchor) -> Self
pub fn valign(self, value: VAlign) -> Self
pub fn title(self, value: Title) -> Self
pub fn group_click(self, value: GroupClick) -> Self
pub fn item_width(self, value: usize) -> Self
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more