pub struct CLabel {
pub s: String,
pub opts: Vec<Opt>,
}
Expand description
Set a label on a colorbar.
This relies on an existing local variable cbar
produced by e.g.
Colorbar
.
cbar.set_label("{s}", **{opts})
Prelude: No
JSON data: None
Fields§
§s: String
Colorbar label.
opts: Vec<Opt>
Optional keyword arguments.
Implementations§
Trait Implementations§
Source§impl Matplotlib for CLabel
impl Matplotlib for CLabel
Source§fn is_prelude(&self) -> bool
fn is_prelude(&self) -> bool
Return
true
if self
should be considered as a prelude item, which
are execute in the order seen but before any non-prelude items.Source§impl MatplotlibOpts for CLabel
impl MatplotlibOpts for CLabel
impl StructuralPartialEq for CLabel
Auto Trait Implementations§
impl Freeze for CLabel
impl RefUnwindSafe for CLabel
impl Send for CLabel
impl Sync for CLabel
impl Unpin for CLabel
impl UnwindSafe for CLabel
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