Enum tfm::ligkern::LeftCharOperation
source · pub enum LeftCharOperation {
Retain,
Delete,
AppendKern(Number),
}
Expand description
Operation to perform on the left character of a lig/kern pair.
Variants§
Retain
Retain the left character and do not add a kern.
Delete
Delete the left character.
AppendKern(Number)
Retain the left character and append the specified kern.
Trait Implementations§
source§impl Clone for LeftCharOperation
impl Clone for LeftCharOperation
source§fn clone(&self) -> LeftCharOperation
fn clone(&self) -> LeftCharOperation
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 LeftCharOperation
impl Debug for LeftCharOperation
source§impl PartialEq<LeftCharOperation> for LeftCharOperation
impl PartialEq<LeftCharOperation> for LeftCharOperation
source§fn eq(&self, other: &LeftCharOperation) -> bool
fn eq(&self, other: &LeftCharOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LeftCharOperation
impl Eq for LeftCharOperation
impl StructuralEq for LeftCharOperation
impl StructuralPartialEq for LeftCharOperation
Auto Trait Implementations§
impl RefUnwindSafe for LeftCharOperation
impl Send for LeftCharOperation
impl Sync for LeftCharOperation
impl Unpin for LeftCharOperation
impl UnwindSafe for LeftCharOperation
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