Struct imgui_sys::ImFontAtlasCustomRect
source · #[repr(C)]pub struct ImFontAtlasCustomRect {
pub Width: c_ushort,
pub Height: c_ushort,
pub X: c_ushort,
pub Y: c_ushort,
pub GlyphID: c_uint,
pub GlyphAdvanceX: f32,
pub GlyphOffset: ImVec2,
pub Font: *mut ImFont,
}
Fields§
§Width: c_ushort
§Height: c_ushort
§X: c_ushort
§Y: c_ushort
§GlyphID: c_uint
§GlyphAdvanceX: f32
§GlyphOffset: ImVec2
§Font: *mut ImFont
Trait Implementations§
source§impl Clone for ImFontAtlasCustomRect
impl Clone for ImFontAtlasCustomRect
source§fn clone(&self) -> ImFontAtlasCustomRect
fn clone(&self) -> ImFontAtlasCustomRect
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImFontAtlasCustomRect
impl Debug for ImFontAtlasCustomRect
source§impl Default for ImFontAtlasCustomRect
impl Default for ImFontAtlasCustomRect
source§impl PartialEq<ImFontAtlasCustomRect> for ImFontAtlasCustomRect
impl PartialEq<ImFontAtlasCustomRect> for ImFontAtlasCustomRect
source§fn eq(&self, other: &ImFontAtlasCustomRect) -> bool
fn eq(&self, other: &ImFontAtlasCustomRect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.