pub enum EmbeddedFontKind {
Regular,
Bold,
Italic,
BoldItalic,
}Expand description
The font-table slot occupied by an embedded font face.
Variants§
Trait Implementations§
Source§impl Clone for EmbeddedFontKind
impl Clone for EmbeddedFontKind
impl Copy for EmbeddedFontKind
Source§impl Debug for EmbeddedFontKind
impl Debug for EmbeddedFontKind
impl Eq for EmbeddedFontKind
Source§impl From<EmbeddedFontKind> for FontFaceKind
impl From<EmbeddedFontKind> for FontFaceKind
Source§fn from(value: EmbeddedFontKind) -> Self
fn from(value: EmbeddedFontKind) -> Self
Converts to this type from the input type.
Source§impl From<FontFaceKind> for EmbeddedFontKind
impl From<FontFaceKind> for EmbeddedFontKind
Source§fn from(value: FontFaceKind) -> Self
fn from(value: FontFaceKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EmbeddedFontKind
impl PartialEq for EmbeddedFontKind
impl StructuralPartialEq for EmbeddedFontKind
Auto Trait Implementations§
impl Freeze for EmbeddedFontKind
impl RefUnwindSafe for EmbeddedFontKind
impl Send for EmbeddedFontKind
impl Sync for EmbeddedFontKind
impl Unpin for EmbeddedFontKind
impl UnsafeUnpin for EmbeddedFontKind
impl UnwindSafe for EmbeddedFontKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.