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