Enum style::values::specified::font::FontVariantEastAsian
[−]
[src]
pub enum FontVariantEastAsian {
Value(VariantEastAsian),
System(SystemFont),
}Allows control of glyph substitution and sizing in East Asian text.
Variants
Value(VariantEastAsian)Value variant with variant-east-asian
System(SystemFont)System font variant
Methods
impl FontVariantEastAsian[src]
pub fn empty() -> Self[src]
Get default font-variant-east-asian with empty variant
pub fn system_font(f: SystemFont) -> Self[src]
Get font-variant-east-asian with system font
pub fn get_system(&self) -> Option<SystemFont>[src]
Get system font
Trait Implementations
impl Clone for FontVariantEastAsian[src]
fn clone(&self) -> FontVariantEastAsian[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 FontVariantEastAsian[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for FontVariantEastAsian[src]
fn eq(&self, __arg_0: &FontVariantEastAsian) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FontVariantEastAsian) -> bool[src]
This method tests for !=.
impl ToCss for FontVariantEastAsian[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 FontVariantEastAsian[src]
type ComputedValue = FontVariantEastAsian
The computed value type we're going to be converted to.
fn to_computed_value(&self, _context: &Context) -> FontVariantEastAsian[src]
Convert a specified value to a computed value, using itself and the data inside the Context. Read more
fn from_computed_value(other: &FontVariantEastAsian) -> Self[src]
Convert a computed value to specified value form. Read more
impl Parse for FontVariantEastAsian[src]
fn parse<'i, 't>(
_context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<FontVariantEastAsian, ParseError<'i>>[src]
_context: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<FontVariantEastAsian, ParseError<'i>>
normal | [