Struct arcdps_imgui_sys::ImFontGlyph
source · #[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,
}
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
Implementations§
source§impl ImFontGlyph
impl ImFontGlyph
pub fn Codepoint(&self) -> c_uint
pub fn set_Codepoint(&mut self, val: c_uint)
pub fn Visible(&self) -> c_uint
pub fn set_Visible(&mut self, val: c_uint)
pub fn new_bitfield_1( Codepoint: c_uint, Visible: 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 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 ImFontGlyph
impl Debug for ImFontGlyph
source§impl Default for ImFontGlyph
impl Default for ImFontGlyph
source§fn default() -> ImFontGlyph
fn default() -> ImFontGlyph
Returns the “default value” for a type. Read more
source§impl PartialEq for ImFontGlyph
impl PartialEq for ImFontGlyph
source§fn eq(&self, other: &ImFontGlyph) -> bool
fn eq(&self, other: &ImFontGlyph) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ImFontGlyph
impl StructuralPartialEq 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