Struct arcdps_imgui::FontGlyph
source · #[repr(C)]pub struct FontGlyph {
pub advance_x: f32,
pub x0: f32,
pub y0: f32,
pub x1: f32,
pub y1: f32,
pub u0: f32,
pub v0: f32,
pub u1: f32,
pub v1: f32,
/* private fields */
}
Expand description
A single font glyph
Fields§
§advance_x: f32
§x0: f32
§y0: f32
§x1: f32
§y1: f32
§u0: f32
§v0: f32
§u1: f32
§v1: f32
Implementations§
Trait Implementations§
source§impl RawCast<ImFontGlyph> for FontGlyph
impl RawCast<ImFontGlyph> for FontGlyph
source§unsafe fn from_raw_mut(raw: &mut T) -> &mut Self
unsafe fn from_raw_mut(raw: &mut T) -> &mut Self
Casts a mutable reference from the raw type Read more
impl Copy for FontGlyph
impl StructuralPartialEq for FontGlyph
Auto Trait Implementations§
impl Freeze for FontGlyph
impl RefUnwindSafe for FontGlyph
impl Send for FontGlyph
impl Sync for FontGlyph
impl Unpin for FontGlyph
impl UnwindSafe for FontGlyph
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
)