Struct vega_lite_4::BaseTitleNoValueRefs
source · pub struct BaseTitleNoValueRefs {Show 25 fields
pub align: Option<Align>,
pub anchor: Option<TitleAnchorUnion>,
pub angle: Option<CornerRadiusUnion>,
pub aria: Option<Aria>,
pub baseline: Option<Baseline>,
pub color: Option<Box<Color>>,
pub dx: Option<CornerRadiusUnion>,
pub dy: Option<CornerRadiusUnion>,
pub font: Option<Box<Color>>,
pub font_size: Option<FontSize>,
pub font_style: Option<Box<Color>>,
pub font_weight: Option<FontWeightUnion>,
pub frame: Option<Box<Color>>,
pub limit: Option<FontSize>,
pub line_height: Option<CornerRadiusUnion>,
pub offset: Option<CornerRadiusUnion>,
pub orient: Option<TitleParamsOrient>,
pub subtitle_color: Option<Box<Color>>,
pub subtitle_font: Option<Box<Color>>,
pub subtitle_font_size: Option<FontSize>,
pub subtitle_font_style: Option<Box<Color>>,
pub subtitle_font_weight: Option<FontWeightUnion>,
pub subtitle_line_height: Option<CornerRadiusUnion>,
pub subtitle_padding: Option<CornerRadiusUnion>,
pub zindex: Option<FontSize>,
}
Expand description
Title configuration, which determines default properties for all titles. For a full list of title configuration options, please see the corresponding section of the title documentation.
Fields§
§align: Option<Align>
Horizontal text alignment for title text. One of "left"
, "center"
, or "right"
.
anchor: Option<TitleAnchorUnion>
§angle: Option<CornerRadiusUnion>
§aria: Option<Aria>
§baseline: Option<Baseline>
Vertical text baseline for title and subtitle text. One of "alphabetic"
(default),
"top"
, "middle"
, "bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and
"line-bottom"
values operate similarly to "top"
and "bottom"
, but are calculated
relative to the lineHeight rather than fontSize alone.
color: Option<Box<Color>>
§dx: Option<CornerRadiusUnion>
§dy: Option<CornerRadiusUnion>
§font: Option<Box<Color>>
§font_size: Option<FontSize>
§font_style: Option<Box<Color>>
§font_weight: Option<FontWeightUnion>
§frame: Option<Box<Color>>
§limit: Option<FontSize>
§line_height: Option<CornerRadiusUnion>
§offset: Option<CornerRadiusUnion>
§orient: Option<TitleParamsOrient>
§subtitle_color: Option<Box<Color>>
§subtitle_font: Option<Box<Color>>
§subtitle_font_size: Option<FontSize>
§subtitle_font_style: Option<Box<Color>>
§subtitle_font_weight: Option<FontWeightUnion>
§subtitle_line_height: Option<CornerRadiusUnion>
§subtitle_padding: Option<CornerRadiusUnion>
§zindex: Option<FontSize>
Trait Implementations§
source§impl Clone for BaseTitleNoValueRefs
impl Clone for BaseTitleNoValueRefs
source§fn clone(&self) -> BaseTitleNoValueRefs
fn clone(&self) -> BaseTitleNoValueRefs
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 BaseTitleNoValueRefs
impl Debug for BaseTitleNoValueRefs
source§impl Default for BaseTitleNoValueRefs
impl Default for BaseTitleNoValueRefs
source§fn default() -> BaseTitleNoValueRefs
fn default() -> BaseTitleNoValueRefs
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BaseTitleNoValueRefs
impl<'de> Deserialize<'de> for BaseTitleNoValueRefs
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 BaseTitleNoValueRefs
impl Send for BaseTitleNoValueRefs
impl Sync for BaseTitleNoValueRefs
impl Unpin for BaseTitleNoValueRefs
impl UnwindSafe for BaseTitleNoValueRefs
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