Struct webrender_api::font::GlyphInstance
source · #[repr(C)]pub struct GlyphInstance {
pub index: GlyphIndex,
pub point: LayoutPoint,
}
Fields§
§index: GlyphIndex
§point: LayoutPoint
Trait Implementations§
source§impl Clone for GlyphInstance
impl Clone for GlyphInstance
source§fn clone(&self) -> GlyphInstance
fn clone(&self) -> GlyphInstance
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 GlyphInstance
impl Debug for GlyphInstance
source§impl Default for GlyphInstance
impl Default for GlyphInstance
source§impl<'de> Deserialize<'de> for GlyphInstance
impl<'de> Deserialize<'de> for GlyphInstance
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 GlyphInstance
impl Hash for GlyphInstance
source§impl MallocSizeOf for GlyphInstance
impl MallocSizeOf for GlyphInstance
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 PartialEq for GlyphInstance
impl PartialEq for GlyphInstance
source§fn eq(&self, other: &GlyphInstance) -> bool
fn eq(&self, other: &GlyphInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for GlyphInstance
impl Peek for GlyphInstance
source§impl Poke for GlyphInstance
impl Poke for GlyphInstance
source§impl Serialize for GlyphInstance
impl Serialize for GlyphInstance
impl Copy for GlyphInstance
impl Eq for GlyphInstance
impl StructuralPartialEq for GlyphInstance
Auto Trait Implementations§
impl Freeze for GlyphInstance
impl RefUnwindSafe for GlyphInstance
impl Send for GlyphInstance
impl Sync for GlyphInstance
impl Unpin for GlyphInstance
impl UnwindSafe for GlyphInstance
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