pub struct MozScriptMinSize(pub NoCalcLength);
Expand description
Specifies the minimum font size allowed due to changes in scriptlevel. Ref: https://wiki.mozilla.org/MathML:mstyle
Tuple Fields§
§0: NoCalcLength
Implementations§
source§impl MozScriptMinSize
impl MozScriptMinSize
sourcepub fn get_initial_value() -> Length
pub fn get_initial_value() -> Length
Calculate initial value of -moz-script-min-size.
Trait Implementations§
source§impl Clone for MozScriptMinSize
impl Clone for MozScriptMinSize
source§fn clone(&self) -> MozScriptMinSize
fn clone(&self) -> MozScriptMinSize
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MozScriptMinSize
impl Debug for MozScriptMinSize
source§impl Parse for MozScriptMinSize
impl Parse for MozScriptMinSize
source§fn parse<'i, 't>(
_: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
) -> Result<MozScriptMinSize, ParseError<'i>>
fn parse<'i, 't>( _: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<MozScriptMinSize, ParseError<'i>>
Parse a value of this type. Read more
source§impl PartialEq for MozScriptMinSize
impl PartialEq for MozScriptMinSize
source§fn eq(&self, other: &MozScriptMinSize) -> bool
fn eq(&self, other: &MozScriptMinSize) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SpecifiedValueInfo for MozScriptMinSize
impl SpecifiedValueInfo for MozScriptMinSize
source§const SUPPORTED_TYPES: u8 = 0u8
const SUPPORTED_TYPES: u8 = 0u8
Supported CssTypes by the given value type. Read more
source§impl ToComputedValue for MozScriptMinSize
impl ToComputedValue for MozScriptMinSize
§type ComputedValue = CSSPixelLength
type ComputedValue = CSSPixelLength
The computed value type we’re going to be converted to.
source§fn to_computed_value(&self, cx: &Context<'_>) -> MozScriptMinSize
fn to_computed_value(&self, cx: &Context<'_>) -> MozScriptMinSize
Convert a specified value to a computed value, using itself and the data
inside the
Context
.source§fn from_computed_value(other: &MozScriptMinSize) -> Self
fn from_computed_value(other: &MozScriptMinSize) -> Self
Convert a computed value to specified value form. Read more
source§impl ToCss for MozScriptMinSize
impl ToCss for MozScriptMinSize
source§impl ToShmem for MozScriptMinSize
impl ToShmem for MozScriptMinSize
impl Copy for MozScriptMinSize
impl StructuralPartialEq for MozScriptMinSize
Auto Trait Implementations§
impl Freeze for MozScriptMinSize
impl RefUnwindSafe for MozScriptMinSize
impl Send for MozScriptMinSize
impl Sync for MozScriptMinSize
impl Unpin for MozScriptMinSize
impl UnwindSafe for MozScriptMinSize
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert