pub struct FontFeatures { /* private fields */ }Expand description
An ordered collection of OpenType feature settings applied to a text run. Later settings for the same tag take precedence in the shaper.
Implementations§
Trait Implementations§
Source§impl Clone for FontFeatures
impl Clone for FontFeatures
Source§fn clone(&self) -> FontFeatures
fn clone(&self) -> FontFeatures
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 moreSource§impl Debug for FontFeatures
impl Debug for FontFeatures
Source§impl Default for FontFeatures
impl Default for FontFeatures
Source§fn default() -> FontFeatures
fn default() -> FontFeatures
Returns the “default value” for a type. Read more
impl Eq for FontFeatures
Source§impl FromIterator<FontFeature> for FontFeatures
impl FromIterator<FontFeature> for FontFeatures
Source§fn from_iter<I: IntoIterator<Item = FontFeature>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = FontFeature>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl Hash for FontFeatures
impl Hash for FontFeatures
Source§impl PartialEq for FontFeatures
impl PartialEq for FontFeatures
impl StructuralPartialEq for FontFeatures
Auto Trait Implementations§
impl Freeze for FontFeatures
impl RefUnwindSafe for FontFeatures
impl Send for FontFeatures
impl Sync for FontFeatures
impl Unpin for FontFeatures
impl UnsafeUnpin for FontFeatures
impl UnwindSafe for FontFeatures
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