Enum style::values::specified::length::FontBaseSize [] [src]

pub enum FontBaseSize {
    CurrentStyle,
    InheritedStyle,
    Custom(Au),
}

A source to resolve font-relative units against

Variants

Use the font-size of the current element

Use the inherited font-size

Use a custom base size

Methods

impl FontBaseSize
[src]

[src]

Calculate the actual size for a given context

Trait Implementations

impl Clone for FontBaseSize
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for FontBaseSize
[src]

impl Debug for FontBaseSize
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for FontBaseSize
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.