Struct imgui::FontGlyph[][src]

#[repr(C)]pub struct FontGlyph {
    pub advance_x: 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,
    // some fields omitted
}

A single font glyph

Fields

advance_x: f32x0: f32y0: f32x1: f32y1: f32u0: f32v0: f32u1: f32v1: f32

Implementations

impl FontGlyph[src]

pub fn codepoint(&self) -> u32[src]

pub fn set_codepoint(&mut self, codepoint: u32)[src]

pub fn visible(&self) -> bool[src]

pub fn set_visible(&mut self, visible: bool)[src]

Trait Implementations

impl Clone for FontGlyph[src]

impl Copy for FontGlyph[src]

impl Debug for FontGlyph[src]

impl PartialEq<FontGlyph> for FontGlyph[src]

impl RawCast<ImFontGlyph> for FontGlyph[src]

impl StructuralPartialEq for FontGlyph[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.