Struct Outsidetextfont

Source
pub struct Outsidetextfont<'a> { /* private fields */ }
Expand description

Sets the font used for textinfo lying outside the sector.

Implementations§

Source§

impl<'a> Outsidetextfont<'a>

Source

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

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.

Source

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

Source

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

Trait Implementations§

Source§

impl<'a> Default for Outsidetextfont<'a>

Source§

fn default() -> Outsidetextfont<'a>

Returns the “default value” for a type. Read more
Source§

impl<'a> Serialize for Outsidetextfont<'a>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Outsidetextfont<'a>

§

impl<'a> RefUnwindSafe for Outsidetextfont<'a>

§

impl<'a> Send for Outsidetextfont<'a>

§

impl<'a> Sync for Outsidetextfont<'a>

§

impl<'a> Unpin for Outsidetextfont<'a>

§

impl<'a> UnwindSafe for Outsidetextfont<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.