#[repr(C)]
pub struct ImFontGlyph {
pub codepoint: ImWchar,
pub advance_x: c_float,
pub x0: c_float,
pub y0: c_float,
pub x1: c_float,
pub y1: c_float,
pub u0: c_float,
pub v0: c_float,
pub u1: c_float,
pub v1: c_float,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.