Struct harfbuzz_sys::hb_ot_var_axis_info_t
source · #[repr(C)]pub struct hb_ot_var_axis_info_t {
pub axis_index: c_uint,
pub tag: hb_tag_t,
pub name_id: hb_ot_name_id_t,
pub flags: hb_ot_var_axis_flags_t,
pub min_value: c_float,
pub default_value: c_float,
pub max_value: c_float,
pub reserved: c_uint,
}
Expand description
hb_ot_var_axis_info_t:
@axis_index: Index of the axis in the variation-axis array
@tag: The #hb_tag_t tag identifying the design variation of the axis
@name_id: The name
table Name ID that provides display names for the axis
@flags: The #hb_ot_var_axis_flags_t flags for the axis
@min_value: The mininum value on the variation axis that the font covers
@default_value: The position on the variation axis corresponding to the font’s defaults
@max_value: The maximum value on the variation axis that the font covers
Data type for holding variation-axis values.
The minimum, default, and maximum values are in un-normalized, user scales.
Since: 2.2.0
Fields§
§axis_index: c_uint
§tag: hb_tag_t
§name_id: hb_ot_name_id_t
§flags: hb_ot_var_axis_flags_t
§min_value: c_float
§default_value: c_float
§max_value: c_float
§reserved: c_uint
Trait Implementations§
source§impl Clone for hb_ot_var_axis_info_t
impl Clone for hb_ot_var_axis_info_t
source§fn clone(&self) -> hb_ot_var_axis_info_t
fn clone(&self) -> hb_ot_var_axis_info_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for hb_ot_var_axis_info_t
impl Debug for hb_ot_var_axis_info_t
impl Copy for hb_ot_var_axis_info_t
Auto Trait Implementations§
impl Freeze for hb_ot_var_axis_info_t
impl RefUnwindSafe for hb_ot_var_axis_info_t
impl Send for hb_ot_var_axis_info_t
impl Sync for hb_ot_var_axis_info_t
impl Unpin for hb_ot_var_axis_info_t
impl UnwindSafe for hb_ot_var_axis_info_t
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