pub struct ShapeFeature {
pub tag: [u8; 4],
pub value: u32,
}Expand description
An OpenType feature setting, such as ssty=1 for math script size variants.
Fields§
§tag: [u8; 4]Four byte OpenType feature tag.
value: u32Feature value, 0 disables and 1 selects the first alternate.
Trait Implementations§
Source§impl Clone for ShapeFeature
impl Clone for ShapeFeature
impl Copy for ShapeFeature
Source§impl Debug for ShapeFeature
impl Debug for ShapeFeature
impl Eq for ShapeFeature
Source§impl PartialEq for ShapeFeature
impl PartialEq for ShapeFeature
impl StructuralPartialEq for ShapeFeature
Auto Trait Implementations§
impl Freeze for ShapeFeature
impl RefUnwindSafe for ShapeFeature
impl Send for ShapeFeature
impl Sync for ShapeFeature
impl Unpin for ShapeFeature
impl UnsafeUnpin for ShapeFeature
impl UnwindSafe for ShapeFeature
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