pub struct Labels {
pub title: Option<String>,
pub subtitle: Option<String>,
pub x: Option<String>,
pub y: Option<String>,
pub caption: Option<String>,
pub tag: Option<String>,
}Expand description
Labels for the plot.
Fields§
§title: Option<String>§subtitle: Option<String>§x: Option<String>§y: Option<String>§caption: Option<String>§tag: Option<String>Corner tag (R’s labs(tag = ...)), e.g. “A” for figure panels.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Labels
impl Freeze for Labels
impl Move for Labels
impl RefUnwindSafe for Labels
impl Send for Labelswhere
RawVecInner: Send,
impl Sync for Labelswhere
RawVecInner: Sync,
impl Unpin for Labels
impl UnsafeUnpin for Labels
impl UnwindSafe for Labelswhere
RawVecInner: UnwindSafe,
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more