Enum truetype::maximum_profile::MaximumProfile
source · pub enum MaximumProfile {
Version0(MaximumProfile0),
Version1(MaximumProfile1),
}
Expand description
A maximum profile.
Variants§
Implementations§
source§impl MaximumProfile
impl MaximumProfile
sourcepub fn glyph_count(&self) -> usize
pub fn glyph_count(&self) -> usize
Return the number of glyphs.
Trait Implementations§
source§impl Clone for MaximumProfile
impl Clone for MaximumProfile
source§fn clone(&self) -> MaximumProfile
fn clone(&self) -> MaximumProfile
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 MaximumProfile
impl Debug for MaximumProfile
Auto Trait Implementations§
impl RefUnwindSafe for MaximumProfile
impl Send for MaximumProfile
impl Sync for MaximumProfile
impl Unpin for MaximumProfile
impl UnwindSafe for MaximumProfile
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