Struct kas_text::fonts::FaceData [−][src]
pub struct FaceData<'a> { /* fields omitted */ }
Expand description
Provides access to font data
Each valid FaceId
is an index to a loaded font face. Since faces are
never unloaded or replaced, FaceId::get
is a valid index into these
arrays for any valid FaceId
.
Implementations
Access font path and face index
Note: use FaceData::get_data
to access the font file data, already
loaded into memory.
Auto Trait Implementations
impl<'a> RefUnwindSafe for FaceData<'a>
impl<'a> UnwindSafe for FaceData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Cast to integer, truncating Read more
Cast to the nearest integer Read more
Cast the floor to an integer Read more
Try converting to integer with truncation Read more
Try converting to the nearest integer Read more
Try converting the floor to an integer Read more
Try convert the ceiling to an integer Read more