Enum vega_lite_4::TitleUnion
source · pub enum TitleUnion {
String(String),
StringArray(Vec<String>),
TitleParams(Box<TitleParams>),
}
Expand description
Title for the plot.
Variants§
Trait Implementations§
source§impl Clone for TitleUnion
impl Clone for TitleUnion
source§fn clone(&self) -> TitleUnion
fn clone(&self) -> TitleUnion
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 TitleUnion
impl Debug for TitleUnion
source§impl<'de> Deserialize<'de> for TitleUnion
impl<'de> Deserialize<'de> for TitleUnion
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 From<&str> for TitleUnion
impl From<&str> for TitleUnion
source§impl From<Box<TitleParams, Global>> for TitleUnion
impl From<Box<TitleParams, Global>> for TitleUnion
source§fn from(original: Box<TitleParams>) -> TitleUnion
fn from(original: Box<TitleParams>) -> TitleUnion
Converts to this type from the input type.
source§impl From<String> for TitleUnion
impl From<String> for TitleUnion
source§fn from(original: String) -> TitleUnion
fn from(original: String) -> TitleUnion
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TitleUnion
impl Send for TitleUnion
impl Sync for TitleUnion
impl Unpin for TitleUnion
impl UnwindSafe for TitleUnion
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