#[repr(C)]
pub struct ImFontAtlas {Show 15 fields
pub locked: bool,
pub flags: ImFontAtlasFlags,
pub tex_id: ImTextureID,
pub tex_desired_width: c_int,
pub tex_glyph_padding: c_int,
pub tex_pixels_alpha8: *mut c_uchar,
pub tex_pixels_rgba32: *mut c_uint,
pub tex_width: c_int,
pub tex_height: c_int,
pub tex_uv_scale: ImVec2,
pub tex_uv_white_pixel: ImVec2,
pub fonts: ImVector<ImFontPtr>,
pub custom_rects: ImVector<CustomRect>,
pub config_data: ImVector<ImFontConfig>,
pub custom_rect_ids: [c_int; 1],
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
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.