Struct psp::sys::SceFontInfo
source · #[repr(C)]pub struct SceFontInfo {Show 27 fields
pub max_glyph_width_i: i32,
pub max_glyph_height_i: i32,
pub max_glyph_ascender_i: i32,
pub max_glyph_descender_i: i32,
pub max_glyph_left_x_i: i32,
pub max_glyph_base_y_i: i32,
pub max_glyph_center_x_i: i32,
pub max_glyph_top_y_i: i32,
pub max_glyph_advance_x_i: i32,
pub max_glyph_advance_y_i: i32,
pub max_glyph_width_f: f32,
pub max_glyph_height_f: f32,
pub max_glyph_ascender_f: f32,
pub max_glyph_descender_f: f32,
pub max_glyph_left_x_f: f32,
pub max_glyph_base_y_f: f32,
pub max_glyph_center_x_f: f32,
pub max_glyph_top_y_f: f32,
pub max_glyph_advance_x_f: f32,
pub max_glyph_advance_y_f: f32,
pub max_glyph_width: i16,
pub max_glyph_height: i16,
pub num_glyphs: i32,
pub shadow_map_length: i32,
pub font_style: SceFontStyle,
pub bpp: u8,
pub pad: [u8; 3],
}
Fields§
§max_glyph_width_i: i32
§max_glyph_height_i: i32
§max_glyph_ascender_i: i32
§max_glyph_descender_i: i32
§max_glyph_left_x_i: i32
§max_glyph_base_y_i: i32
§max_glyph_center_x_i: i32
§max_glyph_top_y_i: i32
§max_glyph_advance_x_i: i32
§max_glyph_advance_y_i: i32
§max_glyph_width_f: f32
§max_glyph_height_f: f32
§max_glyph_ascender_f: f32
§max_glyph_descender_f: f32
§max_glyph_left_x_f: f32
§max_glyph_base_y_f: f32
§max_glyph_center_x_f: f32
§max_glyph_top_y_f: f32
§max_glyph_advance_x_f: f32
§max_glyph_advance_y_f: f32
§max_glyph_width: i16
§max_glyph_height: i16
§num_glyphs: i32
§shadow_map_length: i32
Number of elements in the font’s shadow charmap.
font_style: SceFontStyle
Font style (used by font comparison functions).
bpp: u8
§pad: [u8; 3]
Trait Implementations§
source§impl Clone for SceFontInfo
impl Clone for SceFontInfo
source§fn clone(&self) -> SceFontInfo
fn clone(&self) -> SceFontInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for SceFontInfo
Auto Trait Implementations§
impl Freeze for SceFontInfo
impl RefUnwindSafe for SceFontInfo
impl Send for SceFontInfo
impl Sync for SceFontInfo
impl Unpin for SceFontInfo
impl UnwindSafe for SceFontInfo
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