pub enum CaptionTypeface {
Family(String),
Generic(GenericCaptionFont),
}Expand description
The font captions are drawn in.
Variants§
Family(String)
A font family by name: the family of the font Apple’s settings give for their default
style, or Android’s typeface by its family name, such as serif-monospace.
Generic(GenericCaptionFont)
A kind of font, as caption standards (CEA-708) name them and Windows gives the user’s choice.
Trait Implementations§
Source§impl Clone for CaptionTypeface
impl Clone for CaptionTypeface
Source§impl Debug for CaptionTypeface
impl Debug for CaptionTypeface
impl Eq for CaptionTypeface
Source§impl PartialEq for CaptionTypeface
impl PartialEq for CaptionTypeface
impl StructuralPartialEq for CaptionTypeface
Auto Trait Implementations§
impl Freeze for CaptionTypeface
impl RefUnwindSafe for CaptionTypeface
impl Send for CaptionTypeface
impl Sync for CaptionTypeface
impl Unpin for CaptionTypeface
impl UnsafeUnpin for CaptionTypeface
impl UnwindSafe for CaptionTypeface
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.