#[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§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