Struct style::values::specified::font::MozScriptMinSize
[−]
[src]
pub struct MozScriptMinSize(pub NoCalcLength);
Specifies the minimum font size allowed due to changes in scriptlevel. Ref: https://wiki.mozilla.org/MathML:mstyle
Methods
impl MozScriptMinSize[src]
pub fn get_initial_value() -> Length[src]
Calculate initial value of -moz-script-min-size.
Trait Implementations
impl ToComputedValue for MozScriptMinSize[src]
type ComputedValue = MozScriptMinSize
The computed value type we're going to be converted to.
fn to_computed_value(&self, cx: &Context) -> MozScriptMinSize[src]
Convert a specified value to a computed value, using itself and the data inside the Context. Read more
fn from_computed_value(other: &MozScriptMinSize) -> Self[src]
Convert a computed value to specified value form. Read more
impl Clone for MozScriptMinSize[src]
fn clone(&self) -> MozScriptMinSize[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 MozScriptMinSize[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for MozScriptMinSize[src]
fn eq(&self, __arg_0: &MozScriptMinSize) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &MozScriptMinSize) -> bool[src]
This method tests for !=.
impl ToCss for MozScriptMinSize[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 Parse for MozScriptMinSize[src]
fn parse<'i, 't>(
_: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<MozScriptMinSize, ParseError<'i>>[src]
_: &ParserContext,
input: &mut Parser<'i, 't>
) -> Result<MozScriptMinSize, ParseError<'i>>
Parse a value of this type. Read more