Enum style::values::specified::font::FontVariantLigatures
[−]
[src]
pub enum FontVariantLigatures { Value(VariantLigatures), System(SystemFont), }
Ligatures and contextual forms are ways of combining glyphs to produce more harmonized forms
Variants
Value(VariantLigatures)
Value variant with variant-ligatures
System(SystemFont)
System font variant
Methods
impl FontVariantLigatures
[src]
pub fn system_font(f: SystemFont) -> Self
[src]
Get font-variant-ligatures
with system font
pub fn get_system(&self) -> Option<SystemFont>
[src]
Get system font
pub fn empty() -> FontVariantLigatures
[src]
Default value of font-variant-ligatures
as empty
pub fn none() -> FontVariantLigatures
[src]
Get none
variant of font-variant-ligatures
Trait Implementations
impl Clone for FontVariantLigatures
[src]
fn clone(&self) -> FontVariantLigatures
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for FontVariantLigatures
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for FontVariantLigatures
[src]
fn eq(&self, __arg_0: &FontVariantLigatures) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FontVariantLigatures) -> bool
[src]
This method tests for !=
.
impl ToCss for FontVariantLigatures
[src]
fn to_css<W>(&self, dest: &mut W) -> Result where
W: Write,
[src]
W: Write,
Serialize self
in CSS syntax, writing to dest
.
fn to_css_string(&self) -> String
[src]
Serialize self
in CSS syntax and return a string. Read more
impl ToComputedValue for FontVariantLigatures
[src]
type ComputedValue = FontVariantLigatures
The computed value type we're going to be converted to.
fn to_computed_value(&self, _context: &Context) -> FontVariantLigatures
[src]
Convert a specified value to a computed value, using itself and the data inside the Context
. Read more
fn from_computed_value(other: &FontVariantLigatures) -> Self
[src]
Convert a computed value to specified value form. Read more
impl Parse for FontVariantLigatures
[src]
fn parse<'i, 't>(
_context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<FontVariantLigatures, ParseError<'i>>
[src]
_context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<FontVariantLigatures, ParseError<'i>>
normal | none |
[