pub struct GlyphEntry {
pub index: usize,
pub advance: i32,
}
Fields§
§index: usize
§advance: i32
Trait Implementations§
Source§impl Clone for GlyphEntry
impl Clone for GlyphEntry
Source§fn clone(&self) -> GlyphEntry
fn clone(&self) -> GlyphEntry
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 GlyphEntry
impl Debug for GlyphEntry
Source§impl<'de> Deserialize<'de> for GlyphEntry
impl<'de> Deserialize<'de> for GlyphEntry
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 GlyphEntry
impl Hash for GlyphEntry
Source§impl Ord for GlyphEntry
impl Ord for GlyphEntry
Source§fn cmp(&self, other: &GlyphEntry) -> Ordering
fn cmp(&self, other: &GlyphEntry) -> 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 GlyphEntry
impl PartialEq for GlyphEntry
Source§impl PartialOrd for GlyphEntry
impl PartialOrd for GlyphEntry
Source§impl Serialize for GlyphEntry
impl Serialize for GlyphEntry
impl Copy for GlyphEntry
impl Eq for GlyphEntry
impl StructuralPartialEq for GlyphEntry
Auto Trait Implementations§
impl Freeze for GlyphEntry
impl RefUnwindSafe for GlyphEntry
impl Send for GlyphEntry
impl Sync for GlyphEntry
impl Unpin for GlyphEntry
impl UnwindSafe for GlyphEntry
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