#[repr(C)]pub struct FontVariation {
pub tag: u32,
pub value: f32,
}
Fields§
§tag: u32
§value: f32
Trait Implementations§
Source§impl Clone for FontVariation
impl Clone for FontVariation
Source§fn clone(&self) -> FontVariation
fn clone(&self) -> FontVariation
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 FontVariation
impl Debug for FontVariation
Source§impl<'de> Deserialize<'de> for FontVariation
impl<'de> Deserialize<'de> for FontVariation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FontVariation
impl Hash for FontVariation
Source§impl MallocSizeOf for FontVariation
impl MallocSizeOf for FontVariation
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Source§impl Ord for FontVariation
impl Ord for FontVariation
Source§fn cmp(&self, other: &FontVariation) -> Ordering
fn cmp(&self, other: &FontVariation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FontVariation
impl PartialEq for FontVariation
Source§impl PartialOrd for FontVariation
impl PartialOrd for FontVariation
Source§impl Serialize for FontVariation
impl Serialize for FontVariation
impl Copy for FontVariation
impl Eq for FontVariation
Auto Trait Implementations§
impl Freeze for FontVariation
impl RefUnwindSafe for FontVariation
impl Send for FontVariation
impl Sync for FontVariation
impl Unpin for FontVariation
impl UnwindSafe for FontVariation
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