#[non_exhaustive]pub enum WordSpacing {
Normal,
Length(Length),
}Expand description
A value of word-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 WordSpacing
impl Clone for WordSpacing
Source§fn clone(&self) -> WordSpacing
fn clone(&self) -> WordSpacing
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 WordSpacing
impl Debug for WordSpacing
Source§impl Display for WordSpacing
impl Display for WordSpacing
Source§impl From<Length> for WordSpacing
impl From<Length> for WordSpacing
Source§fn from(v: Length) -> WordSpacing
fn from(v: Length) -> WordSpacing
Converts to this type from the input type.
Source§impl PartialEq for WordSpacing
impl PartialEq for WordSpacing
impl StructuralPartialEq for WordSpacing
Auto Trait Implementations§
impl Freeze for WordSpacing
impl RefUnwindSafe for WordSpacing
impl Send for WordSpacing
impl Sync for WordSpacing
impl Unpin for WordSpacing
impl UnsafeUnpin for WordSpacing
impl UnwindSafe for WordSpacing
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