[][src]Struct vega_lite_4::BaseTitleNoValueRefs

pub struct BaseTitleNoValueRefs {
    pub align: Option<Align>,
    pub anchor: Option<TitleAnchorUnion>,
    pub angle: Option<CornerRadiusUnion>,
    pub aria: Option<Aria>,
    pub baseline: Option<Baseline>,
    pub color: Option<Color>,
    pub dx: Option<CornerRadiusUnion>,
    pub dy: Option<CornerRadiusUnion>,
    pub font: Option<Color>,
    pub font_size: Option<FontSize>,
    pub font_style: Option<Color>,
    pub font_weight: Option<FontWeightUnion>,
    pub frame: Option<Color>,
    pub limit: Option<FontSize>,
    pub line_height: Option<CornerRadiusUnion>,
    pub offset: Option<CornerRadiusUnion>,
    pub orient: Option<TitleParamsOrient>,
    pub subtitle_color: Option<Color>,
    pub subtitle_font: Option<Color>,
    pub subtitle_font_size: Option<FontSize>,
    pub subtitle_font_style: Option<Color>,
    pub subtitle_font_weight: Option<FontWeightUnion>,
    pub subtitle_line_height: Option<CornerRadiusUnion>,
    pub subtitle_padding: Option<CornerRadiusUnion>,
    pub zindex: Option<FontSize>,
}

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<Color>dx: Option<CornerRadiusUnion>dy: Option<CornerRadiusUnion>font: Option<Color>font_size: Option<FontSize>font_style: Option<Color>font_weight: Option<FontWeightUnion>frame: Option<Color>limit: Option<FontSize>line_height: Option<CornerRadiusUnion>offset: Option<CornerRadiusUnion>orient: Option<TitleParamsOrient>subtitle_color: Option<Color>subtitle_font: Option<Color>subtitle_font_size: Option<FontSize>subtitle_font_style: Option<Color>subtitle_font_weight: Option<FontWeightUnion>subtitle_line_height: Option<CornerRadiusUnion>subtitle_padding: Option<CornerRadiusUnion>zindex: Option<FontSize>

Trait Implementations

impl Clone for BaseTitleNoValueRefs[src]

impl Debug for BaseTitleNoValueRefs[src]

impl Default for BaseTitleNoValueRefs[src]

impl<'de> Deserialize<'de> for BaseTitleNoValueRefs[src]

impl Serialize for BaseTitleNoValueRefs[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.