Enum parcel_css::values::calc::Calc [−][src]
pub enum Calc<V> {
Value(Box<V>),
Number(f32),
Sum(Box<Calc<V>>, Box<Calc<V>>),
Product(f32, Box<Calc<V>>),
Function(Box<MathFunction<V>>),
}
Variants
Value(Box<V>)
Tuple Fields
0: Box<V>
Number(f32)
Tuple Fields
0: f32
Sum(Box<Calc<V>>, Box<Calc<V>>)
Product(f32, Box<Calc<V>>)
Function(Box<MathFunction<V>>)
Tuple Fields
0: Box<MathFunction<V>>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<V> RefUnwindSafe for Calc<V> where
V: RefUnwindSafe,
impl<V> UnwindSafe for Calc<V> where
V: UnwindSafe,
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