Enum amethyst_ui::FontFormat[][src]

pub enum FontFormat {
    Ttf,
    Otf,
}

Wrapper format for all core supported Font formats

Variants

TTF Format

OTF Format

Trait Implementations

impl Debug for FontFormat
[src]

Formats the value using the given formatter. Read more

impl Clone for FontFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl SimpleFormat<FontAsset> for FontFormat
[src]

NAME: &'static str = "FontFormat"

A unique identifier for this format.

Options specific to the format, which are passed to import. E.g. for textures this would be stuff like mipmap levels and sampler info. Read more

Produces asset data from given bytes.

Auto Trait Implementations

impl Send for FontFormat

impl Sync for FontFormat