Skip to main content

IntoFontField

Trait IntoFontField 

Source
pub trait IntoFontField<T>: Sized {
    // Required method
    fn into_font_field(self) -> T;
}

Required Methods§

Source

fn into_font_field(self) -> T

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoFontField<Option<Cow<'static, str>>> for &'static str

Source§

fn into_font_field(self) -> Option<Cow<'static, str>>

Source§

impl IntoFontField<Option<bool>> for bool

Source§

impl IntoFontField<Option<f64>> for f64

Source§

impl IntoFontField<Option<f64>> for i32

Source§

impl IntoFontField<bool> for bool

Implementors§