#[repr(C)]pub struct VariationCoordinate {
pub axis: FourByteTag,
pub value: f32,
}Expand description
A single axis/value pair in a crate::font_arguments::VariationPosition.
Fields§
§axis: FourByteTag§value: f32Implementations§
Source§impl Coordinate
impl Coordinate
pub const wght: FourByteTag
pub const wdth: FourByteTag
pub const slnt: FourByteTag
pub const ital: FourByteTag
pub const opsz: FourByteTag
Trait Implementations§
Source§impl Clone for Coordinate
impl Clone for Coordinate
Source§fn clone(&self) -> Coordinate
fn clone(&self) -> Coordinate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Coordinate
Source§impl Debug for Coordinate
impl Debug for Coordinate
Source§impl Default for Coordinate
impl Default for Coordinate
Source§fn default() -> Coordinate
fn default() -> Coordinate
Returns the “default value” for a type. Read more
Source§impl PartialEq for Coordinate
impl PartialEq for Coordinate
impl StructuralPartialEq for Coordinate
Auto Trait Implementations§
impl Forget for Coordinate
impl Freeze for Coordinate
impl Move for Coordinate
impl RefUnwindSafe for Coordinate
impl Send for Coordinate
impl Sync for Coordinate
impl Unpin for Coordinate
impl UnsafeUnpin for Coordinate
impl UnwindSafe for Coordinate
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