pub struct StyleLetterSpacing(pub PixelValue);
Expand description
Represents a letter-spacing
attribute
Tuple Fields§
§0: PixelValue
Implementations§
Trait Implementations§
Source§impl Clone for StyleLetterSpacing
impl Clone for StyleLetterSpacing
Source§fn clone(&self) -> StyleLetterSpacing
fn clone(&self) -> StyleLetterSpacing
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 StyleLetterSpacing
impl Debug for StyleLetterSpacing
Source§impl Display for StyleLetterSpacing
impl Display for StyleLetterSpacing
Source§impl FormatAsCssValue for StyleLetterSpacing
impl FormatAsCssValue for StyleLetterSpacing
fn format_as_css_value(&self, f: &mut Formatter<'_>) -> Result
Source§impl From<StyleLetterSpacing> for CssProperty
impl From<StyleLetterSpacing> for CssProperty
Source§fn from(e: StyleLetterSpacing) -> Self
fn from(e: StyleLetterSpacing) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleLetterSpacing
impl Hash for StyleLetterSpacing
Source§impl Ord for StyleLetterSpacing
impl Ord for StyleLetterSpacing
Source§fn cmp(&self, other: &StyleLetterSpacing) -> Ordering
fn cmp(&self, other: &StyleLetterSpacing) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StyleLetterSpacing
impl PartialEq for StyleLetterSpacing
Source§impl PartialOrd for StyleLetterSpacing
impl PartialOrd for StyleLetterSpacing
impl Copy for StyleLetterSpacing
impl Eq for StyleLetterSpacing
impl StructuralPartialEq for StyleLetterSpacing
Auto Trait Implementations§
impl Freeze for StyleLetterSpacing
impl RefUnwindSafe for StyleLetterSpacing
impl Send for StyleLetterSpacing
impl Sync for StyleLetterSpacing
impl Unpin for StyleLetterSpacing
impl UnwindSafe for StyleLetterSpacing
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)