Struct limn_core::resources::font::FontDescriptor [] [src]

pub struct FontDescriptor {
    pub family_name: String,
    pub italic: bool,
    pub bold: bool,
}

Set of properties used to specify a font

Fields

Methods

impl FontDescriptor
[src]

[src]

Trait Implementations

impl Default for FontDescriptor
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialEq for FontDescriptor
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for FontDescriptor
[src]

impl Hash for FontDescriptor
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for FontDescriptor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FontDescriptor
[src]

[src]

Formats the value using the given formatter. Read more