pub enum ComputedValueType {
AsSpecified,
AbsoluteLength,
AbsoluteLengthOrPercentage,
AbsoluteLengthOrNone,
SpecifiedKeywordPlusAbsoluteLength,
TwoAbsoluteLengths,
ListOfAbsoluteLengths,
SpecifiedWithAbsoluteLengths,
SpecifiedWithAbsoluteUrls,
SeeIndividualProperties,
Complex,
Unknown,
}Expand description
How the computed value is calculated from the specified value
Variants§
AsSpecified
The computed value is the same as the specified value
AbsoluteLength
Computed to an absolute length
AbsoluteLengthOrPercentage
Computed to an absolute length or percentage
AbsoluteLengthOrNone
Computed to an absolute length or ‘none’
SpecifiedKeywordPlusAbsoluteLength
A specified keyword plus an absolute length
TwoAbsoluteLengths
Two absolute lengths (e.g., for background-position)
ListOfAbsoluteLengths
A list of absolute lengths
SpecifiedWithAbsoluteLengths
Computed as specified, but with relative lengths converted to absolute
SpecifiedWithAbsoluteUrls
Computed as specified, but with relative URLs converted to absolute
SeeIndividualProperties
Special computation rules - see spec
Complex
Computed value calculation is complex or spec-specific
Unknown
Not yet categorized
Auto Trait Implementations§
impl Freeze for ComputedValueType
impl RefUnwindSafe for ComputedValueType
impl Send for ComputedValueType
impl Sync for ComputedValueType
impl Unpin for ComputedValueType
impl UnwindSafe for ComputedValueType
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