Struct machinery_api::plugins::ui::FontT[][src]

#[repr(C)]
pub struct FontT {
Show 17 fields pub num_glyphs: u32, pub _padding_86: [c_char; 4], pub glyphs: *mut FontGlyphT, pub glyphs_segments_size: u32, pub _padding_93: [c_char; 4], pub glyphs_segments: *mut u8, pub num_ranges: u32, pub em: f32, pub ranges: *mut FontRangeT, 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: [c_char; 4],
}

Fields

num_glyphs: u32_padding_86: [c_char; 4]glyphs: *mut FontGlyphTglyphs_segments_size: u32_padding_93: [c_char; 4]glyphs_segments: *mut u8num_ranges: u32em: f32ranges: *mut FontRangeTnum_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: [c_char; 4]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.