Struct webrender_api::font::NativeFontHandle
source · pub struct NativeFontHandle {
pub path: PathBuf,
pub index: u32,
}
Fields§
§path: PathBuf
§index: u32
Trait Implementations§
source§impl Clone for NativeFontHandle
impl Clone for NativeFontHandle
source§fn clone(&self) -> NativeFontHandle
fn clone(&self) -> NativeFontHandle
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 NativeFontHandle
impl Debug for NativeFontHandle
source§impl<'de> Deserialize<'de> for NativeFontHandle
impl<'de> Deserialize<'de> for NativeFontHandle
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 NativeFontHandle
impl Hash for NativeFontHandle
source§impl Ord for NativeFontHandle
impl Ord for NativeFontHandle
source§fn cmp(&self, other: &NativeFontHandle) -> Ordering
fn cmp(&self, other: &NativeFontHandle) -> 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 NativeFontHandle
impl PartialEq for NativeFontHandle
source§fn eq(&self, other: &NativeFontHandle) -> bool
fn eq(&self, other: &NativeFontHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NativeFontHandle
impl PartialOrd for NativeFontHandle
source§fn partial_cmp(&self, other: &NativeFontHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &NativeFontHandle) -> 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 NativeFontHandle
impl Serialize for NativeFontHandle
impl Eq for NativeFontHandle
impl StructuralPartialEq for NativeFontHandle
Auto Trait Implementations§
impl Freeze for NativeFontHandle
impl RefUnwindSafe for NativeFontHandle
impl Send for NativeFontHandle
impl Sync for NativeFontHandle
impl Unpin for NativeFontHandle
impl UnwindSafe for NativeFontHandle
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