Struct KerningPair
pub struct KerningPair<'a> {
pub operands: KerningOperands<'a>,
pub adjustment: Vector,
pub direction: Direction,
}Expand description
A complete pair adjustment in one writing direction.
Fields§
§operands: KerningOperands<'a>Named or encoded operands.
adjustment: VectorBoth displacement components. KPX/KPY supply zero for the other axis.
direction: DirectionDirection of the enclosing pair section.
Implementations§
§impl KerningPair<'_>
impl KerningPair<'_>
pub fn into_owned(self) -> KerningPair<'static>
pub fn into_owned(self) -> KerningPair<'static>
Detach pair operands from their source.
Trait Implementations§
§impl<'a> Clone for KerningPair<'a>
impl<'a> Clone for KerningPair<'a>
§fn clone(&self) -> KerningPair<'a>
fn clone(&self) -> KerningPair<'a>
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 more§impl<'a> Debug for KerningPair<'a>
impl<'a> Debug for KerningPair<'a>
§impl<'a> PartialEq for KerningPair<'a>
impl<'a> PartialEq for KerningPair<'a>
impl<'a> StructuralPartialEq for KerningPair<'a>
Auto Trait Implementations§
impl<'a> Freeze for KerningPair<'a>
impl<'a> RefUnwindSafe for KerningPair<'a>
impl<'a> Send for KerningPair<'a>
impl<'a> Sync for KerningPair<'a>
impl<'a> Unpin for KerningPair<'a>
impl<'a> UnsafeUnpin for KerningPair<'a>
impl<'a> UnwindSafe for KerningPair<'a>
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