pub struct PortableNativeGlyphMetrics {
pub width: i32,
pub height: i32,
pub depth: i32,
}Fields§
§width: i32§height: i32§depth: i32Trait Implementations§
Source§impl Clone for PortableNativeGlyphMetrics
impl Clone for PortableNativeGlyphMetrics
Source§fn clone(&self) -> PortableNativeGlyphMetrics
fn clone(&self) -> PortableNativeGlyphMetrics
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 PortableNativeGlyphMetrics
Source§impl Debug for PortableNativeGlyphMetrics
impl Debug for PortableNativeGlyphMetrics
Source§impl Default for PortableNativeGlyphMetrics
impl Default for PortableNativeGlyphMetrics
Source§fn default() -> PortableNativeGlyphMetrics
fn default() -> PortableNativeGlyphMetrics
Returns the “default value” for a type. Read more
impl Eq for PortableNativeGlyphMetrics
Source§impl PartialEq for PortableNativeGlyphMetrics
impl PartialEq for PortableNativeGlyphMetrics
Source§fn eq(&self, other: &PortableNativeGlyphMetrics) -> bool
fn eq(&self, other: &PortableNativeGlyphMetrics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PortableNativeGlyphMetrics
Auto Trait Implementations§
impl Freeze for PortableNativeGlyphMetrics
impl RefUnwindSafe for PortableNativeGlyphMetrics
impl Send for PortableNativeGlyphMetrics
impl Sync for PortableNativeGlyphMetrics
impl Unpin for PortableNativeGlyphMetrics
impl UnsafeUnpin for PortableNativeGlyphMetrics
impl UnwindSafe for PortableNativeGlyphMetrics
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