Enum style::values::specified::length::FontBaseSize
[−]
[src]
pub enum FontBaseSize {
CurrentStyle,
InheritedStyle,
Custom(Au),
}A source to resolve font-relative units against
Variants
CurrentStyleUse the font-size of the current element
InheritedStyleUse the inherited font-size
Custom(Au)Use a custom base size
Methods
impl FontBaseSize[src]
Trait Implementations
impl Clone for FontBaseSize[src]
fn clone(&self) -> FontBaseSize[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 Copy for FontBaseSize[src]
impl Debug for FontBaseSize[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for FontBaseSize[src]
fn eq(&self, __arg_0: &FontBaseSize) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FontBaseSize) -> bool[src]
This method tests for !=.