pub enum KeyGlyph {
Show 17 variants
Point,
Path,
Rect,
Polygon,
Boxplot,
Crossbar,
Pointrange,
Linerange,
Smooth,
Text,
Label,
Vline,
Vpath,
Abline,
Timeseries,
Dotplot,
Blank,
}Expand description
The picture a layer draws in a legend key (ggplot2’s key_glyph =).
Variants§
Point
A point (draw_key_point).
Path
A horizontal line (draw_key_path).
Rect
A filled square (draw_key_rect).
Polygon
A filled square with an outline (draw_key_polygon).
Boxplot
A small boxplot (draw_key_boxplot).
Crossbar
A crossbar (draw_key_crossbar).
Pointrange
A vertical line with a point (draw_key_pointrange).
Linerange
A vertical line (draw_key_linerange).
Smooth
A line over a light ribbon (draw_key_smooth).
Text
The letter “a” (draw_key_text).
Label
“a” on a box (draw_key_label).
Vline
A vertical line (draw_key_vline).
Vpath
A vertical path (draw_key_vpath).
Abline
A diagonal line (draw_key_abline).
Timeseries
A zig-zag line (draw_key_timeseries).
Dotplot
A filled dot (draw_key_dotplot).
Blank
Nothing (draw_key_blank).
Implementations§
Trait Implementations§
impl Copy for KeyGlyph
impl Eq for KeyGlyph
impl StructuralPartialEq for KeyGlyph
Auto Trait Implementations§
impl Freeze for KeyGlyph
impl RefUnwindSafe for KeyGlyph
impl Send for KeyGlyph
impl Sync for KeyGlyph
impl Unpin for KeyGlyph
impl UnsafeUnpin for KeyGlyph
impl UnwindSafe for KeyGlyph
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more