#[repr(C)]pub struct CustomRect {
pub id: c_uint,
pub width: c_ushort,
pub height: c_ushort,
pub x: c_ushort,
pub y: c_ushort,
pub glyph_advance_x: c_float,
pub glyph_offset: ImVec2,
pub font: *mut ImFont,
}
Fields§
§id: c_uint
§width: c_ushort
§height: c_ushort
§x: c_ushort
§y: c_ushort
§glyph_advance_x: c_float
§glyph_offset: ImVec2
§font: *mut ImFont
Auto Trait Implementations§
impl Freeze for CustomRect
impl RefUnwindSafe for CustomRect
impl !Send for CustomRect
impl !Sync for CustomRect
impl Unpin for CustomRect
impl UnwindSafe for CustomRect
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