#[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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImFontAtlasCustomRect
Source§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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImFontAtlasCustomRect
Auto Trait Implementations§
impl !Send for ImFontAtlasCustomRect
impl !Sync for ImFontAtlasCustomRect
impl Freeze for ImFontAtlasCustomRect
impl RefUnwindSafe for ImFontAtlasCustomRect
impl Unpin for ImFontAtlasCustomRect
impl UnsafeUnpin 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