Struct parcel_css::values::ratio::Ratio [−][src]
Expand description
https://drafts.csswg.org/css-values-4/#ratios
Tuple Fields
0: f32
1: f32
Implementations
pub fn parse_required<'i, 't>(
input: &mut Parser<'i, 't>
) -> Result<Self, ParseError<'i, ParserError<'i>>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Ratio
impl UnwindSafe for Ratio
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more