pub enum FontVariantCaps {
Normal,
SmallCaps,
}Expand description
Which capitals a run is drawn with, from font-variant-caps.
Variants§
Normal
normal: the letters the text is written in.
SmallCaps
small-caps: lowercase letters set as small capitals.
Trait Implementations§
Source§impl Clone for FontVariantCaps
impl Clone for FontVariantCaps
Source§fn clone(&self) -> FontVariantCaps
fn clone(&self) -> FontVariantCaps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FontVariantCaps
Source§impl Debug for FontVariantCaps
impl Debug for FontVariantCaps
impl Eq for FontVariantCaps
Source§impl Hash for FontVariantCaps
impl Hash for FontVariantCaps
Source§impl PartialEq for FontVariantCaps
impl PartialEq for FontVariantCaps
Source§impl Serialize for FontVariantCaps
impl Serialize for FontVariantCaps
impl StructuralPartialEq for FontVariantCaps
Auto Trait Implementations§
impl Freeze for FontVariantCaps
impl RefUnwindSafe for FontVariantCaps
impl Send for FontVariantCaps
impl Sync for FontVariantCaps
impl Unpin for FontVariantCaps
impl UnsafeUnpin for FontVariantCaps
impl UnwindSafe for FontVariantCaps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§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.