Enum imgui::FontAtlasRef[][src]

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

An immutably borrowed reference to a (possibly shared) font atlas

Variants

Owned(&'a FontAtlas)

Tuple Fields of Owned

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

Tuple Fields of Shared

0: &'a RefMut<'a, SharedFontAtlas>

Methods from Deref<Target = FontAtlas>

Returns true if the font atlas has been built

Trait Implementations

The resulting type after dereferencing.

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.