pub struct AxisValue {
pub tag: [u8; 4],
pub value: f32,
}Expand description
One axis at one user-space value.
Fields§
§tag: [u8; 4]The axis tag’s four bytes: *b"wght".
value: f32The value, in the axis’s own units (a weight of 700).
Trait Implementations§
impl Copy for AxisValue
impl StructuralPartialEq for AxisValue
Auto Trait Implementations§
impl Freeze for AxisValue
impl RefUnwindSafe for AxisValue
impl Send for AxisValue
impl Sync for AxisValue
impl Unpin for AxisValue
impl UnsafeUnpin for AxisValue
impl UnwindSafe for AxisValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.