Enum vega_lite_4::FieldTitle
source · pub enum FieldTitle {
Functional,
Plain,
Verbal,
}
Expand description
Defines how Vega-Lite generates title for fields. There are three possible styles: -
"verbal"
(Default) - displays function in a verbal style (e.g., “Sum of field”,
“Year-month of date”, “field (binned)”). - "function"
- displays function using
parentheses and capitalized texts (e.g., “SUM(field)”, “YEARMONTH(date)”, “BIN(field)”).
"plain"
- displays only the field name without functions (e.g., “field”, “date”, “field”).
Variants§
Trait Implementations§
source§impl Clone for FieldTitle
impl Clone for FieldTitle
source§fn clone(&self) -> FieldTitle
fn clone(&self) -> FieldTitle
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 FieldTitle
impl Debug for FieldTitle
source§impl<'de> Deserialize<'de> for FieldTitle
impl<'de> Deserialize<'de> for FieldTitle
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
Auto Trait Implementations§
impl RefUnwindSafe for FieldTitle
impl Send for FieldTitle
impl Sync for FieldTitle
impl Unpin for FieldTitle
impl UnwindSafe for FieldTitle
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