[][src]Struct crossfont::FontKey

pub struct FontKey { /* fields omitted */ }

Identifier for a Font for use in maps/etc.

Implementations

impl FontKey[src]

pub fn next() -> FontKey[src]

Get next font key for given size.

The generated key will be globally unique.

Trait Implementations

impl Clone for FontKey[src]

impl Copy for FontKey[src]

impl Debug for FontKey[src]

impl Eq for FontKey[src]

impl Hash for FontKey[src]

impl PartialEq<FontKey> for FontKey[src]

impl StructuralEq for FontKey[src]

impl StructuralPartialEq for FontKey[src]

Auto Trait Implementations

impl RefUnwindSafe for FontKey

impl Send for FontKey

impl Sync for FontKey

impl Unpin for FontKey

impl UnwindSafe for FontKey

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.