Enum profont::ProFont10PointConf
source · pub enum ProFont10PointConf {}
Trait Implementations§
source§impl Clone for ProFont10PointConf
impl Clone for ProFont10PointConf
source§fn clone(&self) -> ProFont10PointConf
fn clone(&self) -> ProFont10PointConf
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 moresource§impl Debug for ProFont10PointConf
impl Debug for ProFont10PointConf
source§impl FontBuilderConf for ProFont10PointConf
impl FontBuilderConf for ProFont10PointConf
source§const FONT_IMAGE: &'static [u8] = _
const FONT_IMAGE: &'static [u8] = _
Raw image containing the font
source§const CHAR_HEIGHT: u32 = 13u32
const CHAR_HEIGHT: u32 = 13u32
char
height of the fontsource§const CHAR_WIDTH: u32 = 7u32
const CHAR_WIDTH: u32 = 7u32
char
width of the fontsource§const FONT_IMAGE_WIDTH: u32 = 224u32
const FONT_IMAGE_WIDTH: u32 = 224u32
Font image width, must be divisible by
8
and CHAR_WIDTH
.source§fn char_offset(c: char) -> u32
fn char_offset(c: char) -> u32
Returns the index in the font of the correponding
char