#[repr(C)]pub struct ImFontGlyph {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub AdvanceX: 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,
pub PackId: c_int,
}Fields§
§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§AdvanceX: f32§X0: f32§Y0: f32§X1: f32§Y1: f32§U0: f32§V0: f32§U1: f32§V1: f32§PackId: c_intImplementations§
Source§impl ImFontGlyph
impl ImFontGlyph
pub fn Colored(&self) -> c_uint
pub fn set_Colored(&mut self, val: c_uint)
pub unsafe fn Colored_raw(this: *const Self) -> c_uint
pub unsafe fn set_Colored_raw(this: *mut Self, val: c_uint)
pub fn Visible(&self) -> c_uint
pub fn set_Visible(&mut self, val: c_uint)
pub unsafe fn Visible_raw(this: *const Self) -> c_uint
pub unsafe fn set_Visible_raw(this: *mut Self, val: c_uint)
pub fn SourceIdx(&self) -> c_uint
pub fn set_SourceIdx(&mut self, val: c_uint)
pub unsafe fn SourceIdx_raw(this: *const Self) -> c_uint
pub unsafe fn set_SourceIdx_raw(this: *mut Self, val: c_uint)
pub fn Codepoint(&self) -> c_uint
pub fn set_Codepoint(&mut self, val: c_uint)
pub unsafe fn Codepoint_raw(this: *const Self) -> c_uint
pub unsafe fn set_Codepoint_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( Colored: c_uint, Visible: c_uint, SourceIdx: c_uint, Codepoint: c_uint, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for ImFontGlyph
impl Clone for ImFontGlyph
Source§fn clone(&self) -> ImFontGlyph
fn clone(&self) -> ImFontGlyph
Returns a duplicate 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 ImFontGlyph
impl Debug for ImFontGlyph
impl Copy for ImFontGlyph
Auto Trait Implementations§
impl Freeze for ImFontGlyph
impl RefUnwindSafe for ImFontGlyph
impl Send for ImFontGlyph
impl Sync for ImFontGlyph
impl Unpin for ImFontGlyph
impl UnwindSafe for ImFontGlyph
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