Struct harfbuzz_sys::bindings::hb_variation_t
source · #[repr(C)]pub struct hb_variation_t {
pub tag: hb_tag_t,
pub value: c_float,
}
Expand description
hb_variation_t: @tag: The #hb_tag_t tag of the variation-axis name @value: The value of the variation axis
Data type for holding variation data. Registered OpenType variation-axis tags are listed at https://docs.microsoft.com/en-us/typography/opentype/spec/dvaraxisreg
Since: 1.4.2
Fields§
§tag: hb_tag_t
§value: c_float
Trait Implementations§
source§impl Clone for hb_variation_t
impl Clone for hb_variation_t
source§fn clone(&self) -> hb_variation_t
fn clone(&self) -> hb_variation_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_variation_t
impl Debug for hb_variation_t
impl Copy for hb_variation_t
Auto Trait Implementations§
impl Freeze for hb_variation_t
impl RefUnwindSafe for hb_variation_t
impl Send for hb_variation_t
impl Sync for hb_variation_t
impl Unpin for hb_variation_t
impl UnwindSafe for hb_variation_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