Struct kas_text::fonts::FaceId [−][src]
pub struct FaceId(pub u32);
Expand description
Font face identifier
Identifies a loaded font face within the FontLibrary
by index.
Internally this uses a numeric identifier, which is always less than
FontLibrary::num_faces
, assuming that at least one font has been loaded.
FontLibrary::face_data
may be used to retrieve the matching font.
Tuple Fields
0: u32
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FaceId
impl UnwindSafe for FaceId
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