#[repr(C)]pub struct MathSum {
pub values: ThinVec<NumericValue>,
}Expand description
A sum of numeric values.
This corresponds to CSSMathSum in the Typed OM specification. A sum
value represents an expression such as 10px + 2em. Each entry is itself
a NumericValue, allowing nested sums if needed.
Fields§
§values: ThinVec<NumericValue>The list of numeric terms that make up the sum.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MathSum
impl RefUnwindSafe for MathSum
impl Send for MathSum
impl Sync for MathSum
impl Unpin for MathSum
impl UnwindSafe for MathSum
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