pub struct LegendEntry { /* private fields */ }Expand description
A single entry in the diagram legend.
Rendered as a colored swatch with a label.
Implementations§
Trait Implementations§
Source§impl Clone for LegendEntry
impl Clone for LegendEntry
Source§fn clone(&self) -> LegendEntry
fn clone(&self) -> LegendEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LegendEntry
impl Debug for LegendEntry
Source§impl<'de> Deserialize<'de> for LegendEntry
impl<'de> Deserialize<'de> for LegendEntry
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
Source§impl PartialEq for LegendEntry
impl PartialEq for LegendEntry
Source§impl Serialize for LegendEntry
impl Serialize for LegendEntry
impl StructuralPartialEq for LegendEntry
Auto Trait Implementations§
impl Freeze for LegendEntry
impl RefUnwindSafe for LegendEntry
impl Send for LegendEntry
impl Sync for LegendEntry
impl Unpin for LegendEntry
impl UnsafeUnpin for LegendEntry
impl UnwindSafe for LegendEntry
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