pub struct ChartLegend {
pub position: Option<String>,
pub visible: bool,
pub overlay: bool,
pub text: Option<ChartTextProperties>,
}Fields§
§position: Option<String>§visible: bool§overlay: boolc:overlay: the legend sits on the plot instead of taking a band of it.
text: Option<ChartTextProperties>Trait Implementations§
Source§impl Clone for ChartLegend
impl Clone for ChartLegend
Source§fn clone(&self) -> ChartLegend
fn clone(&self) -> ChartLegend
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 moreSource§impl Debug for ChartLegend
impl Debug for ChartLegend
Source§impl Default for ChartLegend
impl Default for ChartLegend
Source§fn default() -> ChartLegend
fn default() -> ChartLegend
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChartLegend
impl<'de> Deserialize<'de> for ChartLegend
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChartLegend, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ChartLegend, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChartLegend
impl PartialEq for ChartLegend
Source§impl Serialize for ChartLegend
impl Serialize for ChartLegend
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ChartLegend
Auto Trait Implementations§
impl Freeze for ChartLegend
impl RefUnwindSafe for ChartLegend
impl Send for ChartLegend
impl Sync for ChartLegend
impl Unpin for ChartLegend
impl UnsafeUnpin for ChartLegend
impl UnwindSafe for ChartLegend
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