Struct imgui::ImFontConfig[][src]

pub struct ImFontConfig { /* fields omitted */ }

A builder for the configuration for a font.

Methods

impl ImFontConfig
[src]

Adds a custom font to the font set with the given configuration. A font size must be set in the configuration.

Panics

If no font size is set for the configuration.

Adds the default font to a given atlas using this configuration.

Trait Implementations

impl Copy for ImFontConfig
[src]

impl Clone for ImFontConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ImFontConfig
[src]

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

This method tests for !=.

impl Debug for ImFontConfig
[src]

Formats the value using the given formatter. Read more

impl Default for ImFontConfig
[src]

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

Auto Trait Implementations