Struct vega_lite_4::BaseTitleNoValueRefsBuilder
source · pub struct BaseTitleNoValueRefsBuilder { /* private fields */ }
Expand description
Builder for BaseTitleNoValueRefs
.
Implementations§
source§impl BaseTitleNoValueRefsBuilder
impl BaseTitleNoValueRefsBuilder
sourcepub fn align<VALUE: Into<Align>>(&mut self, value: VALUE) -> &mut Self
pub fn align<VALUE: Into<Align>>(&mut self, value: VALUE) -> &mut Self
Horizontal text alignment for title text. One of "left"
, "center"
, or "right"
.
pub fn anchor<VALUE: Into<TitleAnchorUnion>>( &mut self, value: VALUE ) -> &mut Self
pub fn angle<VALUE: Into<CornerRadiusUnion>>( &mut self, value: VALUE ) -> &mut Self
pub fn aria<VALUE: Into<Aria>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn baseline<VALUE: Into<Baseline>>(&mut self, value: VALUE) -> &mut Self
pub fn baseline<VALUE: Into<Baseline>>(&mut self, value: VALUE) -> &mut Self
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.
pub fn color<VALUE: Into<Box<Color>>>(&mut self, value: VALUE) -> &mut Self
pub fn dx<VALUE: Into<CornerRadiusUnion>>(&mut self, value: VALUE) -> &mut Self
pub fn dy<VALUE: Into<CornerRadiusUnion>>(&mut self, value: VALUE) -> &mut Self
pub fn font<VALUE: Into<Box<Color>>>(&mut self, value: VALUE) -> &mut Self
pub fn font_size<VALUE: Into<FontSize>>(&mut self, value: VALUE) -> &mut Self
pub fn font_style<VALUE: Into<Box<Color>>>(&mut self, value: VALUE) -> &mut Self
pub fn font_weight<VALUE: Into<FontWeightUnion>>( &mut self, value: VALUE ) -> &mut Self
pub fn frame<VALUE: Into<Box<Color>>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<FontSize>>(&mut self, value: VALUE) -> &mut Self
pub fn line_height<VALUE: Into<CornerRadiusUnion>>( &mut self, value: VALUE ) -> &mut Self
pub fn offset<VALUE: Into<CornerRadiusUnion>>( &mut self, value: VALUE ) -> &mut Self
pub fn orient<VALUE: Into<TitleParamsOrient>>( &mut self, value: VALUE ) -> &mut Self
pub fn subtitle_color<VALUE: Into<Box<Color>>>( &mut self, value: VALUE ) -> &mut Self
pub fn subtitle_font<VALUE: Into<Box<Color>>>( &mut self, value: VALUE ) -> &mut Self
pub fn subtitle_font_size<VALUE: Into<FontSize>>( &mut self, value: VALUE ) -> &mut Self
pub fn subtitle_font_style<VALUE: Into<Box<Color>>>( &mut self, value: VALUE ) -> &mut Self
pub fn subtitle_font_weight<VALUE: Into<FontWeightUnion>>( &mut self, value: VALUE ) -> &mut Self
pub fn subtitle_line_height<VALUE: Into<CornerRadiusUnion>>( &mut self, value: VALUE ) -> &mut Self
pub fn subtitle_padding<VALUE: Into<CornerRadiusUnion>>( &mut self, value: VALUE ) -> &mut Self
pub fn zindex<VALUE: Into<FontSize>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn build(
&self
) -> Result<BaseTitleNoValueRefs, BaseTitleNoValueRefsBuilderError>
pub fn build( &self ) -> Result<BaseTitleNoValueRefs, BaseTitleNoValueRefsBuilderError>
Trait Implementations§
source§impl Clone for BaseTitleNoValueRefsBuilder
impl Clone for BaseTitleNoValueRefsBuilder
source§fn clone(&self) -> BaseTitleNoValueRefsBuilder
fn clone(&self) -> BaseTitleNoValueRefsBuilder
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 moreAuto Trait Implementations§
impl RefUnwindSafe for BaseTitleNoValueRefsBuilder
impl Send for BaseTitleNoValueRefsBuilder
impl Sync for BaseTitleNoValueRefsBuilder
impl Unpin for BaseTitleNoValueRefsBuilder
impl UnwindSafe for BaseTitleNoValueRefsBuilder
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