pub struct ShapeFeature {
pub tag: [u8; 4],
pub value: u32,
}Expand description
OpenType feature request (tag + value), e.g. ssty=1 for math script size substitution.
Fields§
§tag: [u8; 4]Four byte OpenType feature tag, e.g. *b"ssty".
value: u32One based alternate index for ssty; 0 disables the feature.
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