pub enum LegendGeometry {
All,
Polygon,
Line,
Point,
}Expand description
The geometry a legend swatch’s stand-in feature is given.
A swatch is drawn by handing the entry’s node one synthetic feature.
All gives it a polygon, a line and a point at once: a
fill node reads the polygon, a stroke the line, a circle or stamp the
point, and each ignores the rest. Naming one is for when a geometry
op sits between the source and the entry’s node — boundary turns
the polygon into a rectangle outline, which a stroke would then draw
as well as the line.
Variants§
Trait Implementations§
Source§impl Clone for LegendGeometry
impl Clone for LegendGeometry
Source§fn clone(&self) -> LegendGeometry
fn clone(&self) -> LegendGeometry
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 LegendGeometry
Source§impl Debug for LegendGeometry
impl Debug for LegendGeometry
Source§impl Default for LegendGeometry
impl Default for LegendGeometry
Source§fn default() -> LegendGeometry
fn default() -> LegendGeometry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LegendGeometry
impl<'de> Deserialize<'de> for LegendGeometry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LegendGeometry
Source§impl PartialEq for LegendGeometry
impl PartialEq for LegendGeometry
Source§impl Serialize for LegendGeometry
impl Serialize for LegendGeometry
impl StructuralPartialEq for LegendGeometry
Auto Trait Implementations§
impl Freeze for LegendGeometry
impl RefUnwindSafe for LegendGeometry
impl Send for LegendGeometry
impl Sync for LegendGeometry
impl Unpin for LegendGeometry
impl UnsafeUnpin for LegendGeometry
impl UnwindSafe for LegendGeometry
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.