[][src]Struct plotly_types::traces::scattergeo::Textfont

pub struct Textfont<'a> { /* fields omitted */ }

Sets the text font.

Implementations

impl<'a> Textfont<'a>[src]

pub fn family(&mut self, family: &'a str) -> &mut Self[src]

HTML font family - the typeface that will be applied by the web browser. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system. The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server, where only a select number of fonts are installed and supported. These include Arial, Balto, Courier New, Droid Sans,, Droid Serif, Droid Sans Mono, Gravitas One, Old Standard TT, Open Sans, Overpass, PT Sans Narrow, Raleway, Times New Roman.

pub fn size(&mut self, size: f64) -> &mut Self[src]

pub fn color(&mut self, color: &'a str) -> &mut Self[src]

Trait Implementations

impl<'a> Default for Textfont<'a>[src]

impl<'a> Serialize for Textfont<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Textfont<'a>

impl<'a> Send for Textfont<'a>

impl<'a> Sync for Textfont<'a>

impl<'a> Unpin for Textfont<'a>

impl<'a> UnwindSafe for Textfont<'a>

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> From<T> for T[src]

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

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.