[][src]Struct tm_rs::ffi::tm_font_t

#[repr(C)]pub struct tm_font_t {
    pub num_glyphs: u32,
    pub _padding_86: [i8; 4],
    pub glyphs: *mut tm_font_glyph_t,
    pub glyphs_segments_size: u32,
    pub _padding_93: [i8; 4],
    pub glyphs_segments: *mut u8,
    pub num_ranges: u32,
    pub em: f32,
    pub ranges: *mut tm_font_range_t,
    pub num_font_scales: u32,
    pub font_scales: [f32; 8],
    pub ascent: [f32; 8],
    pub descent: [f32; 8],
    pub line_gap: [f32; 8],
    pub ex: [f32; 8],
    pub cap_height: [f32; 8],
    pub _padding_134: [i8; 4],
}

Fields

num_glyphs: u32_padding_86: [i8; 4]glyphs: *mut tm_font_glyph_tglyphs_segments_size: u32_padding_93: [i8; 4]glyphs_segments: *mut u8num_ranges: u32em: f32ranges: *mut tm_font_range_tnum_font_scales: u32font_scales: [f32; 8]ascent: [f32; 8]descent: [f32; 8]line_gap: [f32; 8]ex: [f32; 8]cap_height: [f32; 8]_padding_134: [i8; 4]

Trait Implementations

impl Clone for tm_font_t[src]

impl Copy for tm_font_t[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> CloneAny for T where
    T: Clone + Any
[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.