#[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 ImFontTrait 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
impl Copy 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)