pub type LetterSpacing = GenericLetterSpacing<LengthPercentage>;
Expand description
This is generic just to make the #[derive()] code do the right thing for lengths.
Aliased Type§
#[repr(transparent)]pub struct LetterSpacing(pub LengthPercentage);
Tuple Fields§
§0: LengthPercentage
Implementations§
Source§impl LetterSpacing
impl LetterSpacing
Trait Implementations§
Source§impl ToCss for LetterSpacing
impl ToCss for LetterSpacing
Source§fn to_css<W>(&self, dest: &mut CssWriter<'_, W>) -> Resultwhere
W: Write,
fn to_css<W>(&self, dest: &mut CssWriter<'_, W>) -> Resultwhere
W: Write,
Serialize
self
in CSS syntax, writing to dest
.Source§fn to_css_string(&self) -> String
fn to_css_string(&self) -> String
Serialize
self
in CSS syntax and return a string. Read moreSource§fn to_css_cssstring(&self) -> String
fn to_css_cssstring(&self) -> String
Serialize
self
in CSS syntax and return a CssString. Read more