#[non_exhaustive]pub enum LetterSpacing {
Normal,
Length(Length),
}Expand description
A value of letter-spacing.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for LetterSpacing
impl Clone for LetterSpacing
Source§fn clone(&self) -> LetterSpacing
fn clone(&self) -> LetterSpacing
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 moreSource§impl Debug for LetterSpacing
impl Debug for LetterSpacing
Source§impl Display for LetterSpacing
impl Display for LetterSpacing
Source§impl From<Length> for LetterSpacing
impl From<Length> for LetterSpacing
Source§impl PartialEq for LetterSpacing
impl PartialEq for LetterSpacing
impl StructuralPartialEq for LetterSpacing
Auto Trait Implementations§
impl Freeze for LetterSpacing
impl RefUnwindSafe for LetterSpacing
impl Send for LetterSpacing
impl Sync for LetterSpacing
impl Unpin for LetterSpacing
impl UnsafeUnpin for LetterSpacing
impl UnwindSafe for LetterSpacing
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