Struct ctru_sys::charWidthInfo_s
source · #[repr(C)]pub struct charWidthInfo_s {
pub left: s8,
pub glyphWidth: u8_,
pub charWidth: u8_,
}
Expand description
Character width information structure.
Fields§
§left: s8
< Horizontal offset to draw the glyph with.
glyphWidth: u8_
< Width of the glyph.
charWidth: u8_
< Width of the character, that is, horizontal distance to advance.
Trait Implementations§
source§impl Clone for charWidthInfo_s
impl Clone for charWidthInfo_s
source§fn clone(&self) -> charWidthInfo_s
fn clone(&self) -> charWidthInfo_s
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for charWidthInfo_s
impl Debug for charWidthInfo_s
source§impl Default for charWidthInfo_s
impl Default for charWidthInfo_s
source§fn default() -> charWidthInfo_s
fn default() -> charWidthInfo_s
Returns the “default value” for a type. Read more