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 for ImFontAtlasCustomRect
impl PartialEq 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 ==
.impl Copy for ImFontAtlasCustomRect
impl StructuralPartialEq for ImFontAtlasCustomRect
Auto Trait Implementations§
impl Freeze for ImFontAtlasCustomRect
impl RefUnwindSafe for ImFontAtlasCustomRect
impl !Send for ImFontAtlasCustomRect
impl !Sync for ImFontAtlasCustomRect
impl Unpin for ImFontAtlasCustomRect
impl UnwindSafe for ImFontAtlasCustomRect
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more