pub struct FontFeature {
pub tag: [u8; 4],
pub value: u32,
}Expand description
One OpenType feature setting: its tag and its value, 0 for off.
Fields§
§tag: [u8; 4]The feature’s tag, such as liga.
value: u32The value: 0 turns the feature off, 1 on, and larger values pick an alternate.
Trait Implementations§
Source§impl Clone for FontFeature
impl Clone for FontFeature
impl Copy for FontFeature
Source§impl Debug for FontFeature
impl Debug for FontFeature
impl Eq for FontFeature
Source§impl Hash for FontFeature
impl Hash for FontFeature
Source§impl PartialEq for FontFeature
impl PartialEq for FontFeature
impl StructuralPartialEq for FontFeature
Auto Trait Implementations§
impl Forget for FontFeature
impl Freeze for FontFeature
impl Move 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