pub struct PluginLegend { /* private fields */ }
Implementations§
§impl PluginLegend
impl PluginLegend
pub fn new() -> Self
pub fn get_display(&mut self) -> &mut Option<bool>
pub fn display(self, value: impl Into<bool>) -> PluginLegend
pub fn get_labels(&mut self) -> &mut Option<LegendLabel>
pub fn labels(self, value: impl Into<LegendLabel>) -> PluginLegend
pub fn get_position(&mut self) -> &mut String
pub fn position(self, value: impl Into<String>) -> PluginLegend
pub fn get_reverse(&mut self) -> &mut Option<bool>
pub fn reverse(self, value: impl Into<bool>) -> PluginLegend
Trait Implementations§
source§impl Clone for PluginLegend
impl Clone for PluginLegend
source§fn clone(&self) -> PluginLegend
fn clone(&self) -> PluginLegend
Returns a copy 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 PluginLegend
impl Debug for PluginLegend
source§impl Default for PluginLegend
impl Default for PluginLegend
source§fn default() -> PluginLegend
fn default() -> PluginLegend
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PluginLegend
impl<'de> Deserialize<'de> for PluginLegend
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 Ord for PluginLegend
impl Ord for PluginLegend
source§fn cmp(&self, other: &PluginLegend) -> Ordering
fn cmp(&self, other: &PluginLegend) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PluginLegend
impl PartialEq for PluginLegend
source§impl PartialOrd for PluginLegend
impl PartialOrd for PluginLegend
source§impl Serialize for PluginLegend
impl Serialize for PluginLegend
impl Eq for PluginLegend
impl StructuralPartialEq for PluginLegend
Auto Trait Implementations§
impl Freeze for PluginLegend
impl RefUnwindSafe for PluginLegend
impl Send for PluginLegend
impl Sync for PluginLegend
impl Unpin for PluginLegend
impl UnwindSafe for PluginLegend
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)