Struct webrender_api::FontVariation
source · #[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§fn eq(&self, other: &FontVariation) -> bool
fn eq(&self, other: &FontVariation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FontVariation
impl PartialOrd for FontVariation
source§fn partial_cmp(&self, other: &FontVariation) -> Option<Ordering>
fn partial_cmp(&self, other: &FontVariation) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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