pub enum SpacingType {
PercentageSpacing,
AbsoluteSpacing,
}
Expand description
Spacing between letters
Variants§
PercentageSpacing
A value of 100 will keep the spacing unchanged; a value of 200 will enlarge the spacing after a character by the width of the character itself.
AbsoluteSpacing
A positive value increases the letter spacing by the corresponding pixels; a negative value decreases the spacing.
Trait Implementations§
Source§impl Clone for SpacingType
impl Clone for SpacingType
Source§fn clone(&self) -> SpacingType
fn clone(&self) -> SpacingType
Returns a duplicate 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 SpacingType
impl Debug for SpacingType
Source§impl Default for SpacingType
impl Default for SpacingType
Source§impl PartialEq for SpacingType
impl PartialEq for SpacingType
Source§impl PartialOrd for SpacingType
impl PartialOrd for SpacingType
impl Copy for SpacingType
impl Eq for SpacingType
impl StructuralPartialEq for SpacingType
Auto Trait Implementations§
impl Freeze for SpacingType
impl RefUnwindSafe for SpacingType
impl Send for SpacingType
impl Sync for SpacingType
impl Unpin for SpacingType
impl UnwindSafe for SpacingType
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