pub struct FontFeature {
pub tag: Tag,
pub value: u32,
}Expand description
An OpenType feature tag and value pair.
Fields§
§tag: TagFour byte tag in OpenType format.
value: u32Feature activation value; 1 enables, 0 disables.
Trait Implementations§
Source§impl Clone for FontFeature
impl Clone for FontFeature
Source§fn clone(&self) -> FontFeature
fn clone(&self) -> FontFeature
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 FontFeature
Source§impl Debug for FontFeature
impl Debug for FontFeature
impl Eq for FontFeature
Source§impl PartialEq for FontFeature
impl PartialEq for FontFeature
Source§fn eq(&self, other: &FontFeature) -> bool
fn eq(&self, other: &FontFeature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FontFeature
Auto Trait Implementations§
impl Freeze for FontFeature
impl RefUnwindSafe for FontFeature
impl Send for FontFeature
impl Sync for FontFeature
impl Unpin for FontFeature
impl UnsafeUnpin for FontFeature
impl UnwindSafe for FontFeature
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