pub struct FontGlyph(/* private fields */);
Implementations§
Source§impl FontGlyph
impl FontGlyph
Sourcepub fn get(&self) -> &ImFontGlyph
pub fn get(&self) -> &ImFontGlyph
Gets a reference to the native wrapper struct.
Source§impl FontGlyph
impl FontGlyph
Sourcepub fn cast(r: &ImFontGlyph) -> &FontGlyph
pub fn cast(r: &ImFontGlyph) -> &FontGlyph
Converts a native reference into a wrapper reference.
Sourcepub fn cast_mut(r: &mut ImFontGlyph) -> &mut FontGlyph
pub fn cast_mut(r: &mut ImFontGlyph) -> &mut FontGlyph
Converts a native reference into a wrapper reference.
It is safe because if you have a reference to the native reference, you already can change anything.
Methods from Deref<Target = ImFontGlyph>§
Trait Implementations§
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