[][src]Struct badgen::TrueTypeFont

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

A True Type Font with a font height and path precision.

Implementations

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

pub fn new(
    font: &'a TrueTypeFontInner<'a>,
    font_height: f32,
    precision: u8
) -> Self
[src]

Construct a new TrueTypeFont.

Trait Implementations

impl<'a> Clone for TrueTypeFont<'a>[src]

impl<'a> Debug for TrueTypeFont<'a>[src]

impl<'a> Font for TrueTypeFont<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for TrueTypeFont<'a>

impl<'a> Send for TrueTypeFont<'a>

impl<'a> Sync for TrueTypeFont<'a>

impl<'a> Unpin for TrueTypeFont<'a>

impl<'a> UnwindSafe for TrueTypeFont<'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> 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.