Enum imgui::FontAtlasRefMut[][src]

pub enum FontAtlasRefMut<'a> {
    Owned(&'a mut FontAtlas),
    Shared(RefMut<'a, SharedFontAtlas>),
}
Expand description

A mutably borrowed reference to a (possibly shared) font atlas

Variants

Owned(&'a mut FontAtlas)

Tuple Fields of Owned

0: &'a mut FontAtlas
Shared(RefMut<'a, SharedFontAtlas>)

Tuple Fields of Shared

0: RefMut<'a, SharedFontAtlas>

Methods from Deref<Target = FontAtlas>

Returns true if the font atlas has been built

Builds a 1 byte per-pixel font atlas texture

Builds a 4 byte per-pixel font atlas texture

Clears the font atlas completely (both input and output data)

Clears output font data (glyph storage, UV coordinates)

Clears output texture data.

Can be used to save RAM once the texture has been transferred to the GPU.

Clears all the data used to build the textures and fonts

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.