pub struct VarComponent {
pub reset_unspecified_axes: bool,
pub gid: GlyphId,
pub condition_index: Option<VarcVariationIndex>,
pub axis_values: Option<BTreeMap<u16, f32>>,
pub axis_values_var_index: Option<VarcVariationIndex>,
pub transform: DecomposedTransform,
pub transform_var_index: Option<VarcVariationIndex>,
}Fields§
§reset_unspecified_axes: bool§gid: GlyphId§condition_index: Option<VarcVariationIndex>§axis_values: Option<BTreeMap<u16, f32>>§axis_values_var_index: Option<VarcVariationIndex>§transform: DecomposedTransform§transform_var_index: Option<VarcVariationIndex>Auto Trait Implementations§
impl Freeze for VarComponent
impl RefUnwindSafe for VarComponent
impl Send for VarComponent
impl Sync for VarComponent
impl Unpin for VarComponent
impl UnsafeUnpin for VarComponent
impl UnwindSafe for VarComponent
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<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.