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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)