pub enum LegendShape {
Rect,
Line,
Circle,
Marker(MarkerShape),
CircleSize(f64),
}Variants§
Trait Implementations§
Source§impl Clone for LegendShape
impl Clone for LegendShape
Source§fn clone(&self) -> LegendShape
fn clone(&self) -> LegendShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LegendShape
Auto Trait Implementations§
impl Freeze for LegendShape
impl RefUnwindSafe for LegendShape
impl Send for LegendShape
impl Sync for LegendShape
impl Unpin for LegendShape
impl UnsafeUnpin for LegendShape
impl UnwindSafe for LegendShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.