pub enum MathFunction {
Show 22 variants
Min,
Max,
Clamp,
Round(Rounding),
Mod,
Rem,
Sin,
Cos,
Tan,
Asin,
Acos,
Atan,
Atan2,
Pow,
Sqrt,
Hypot,
Log,
Exp,
Abs,
Sign,
SiblingIndex,
SiblingCount,
}Expand description
A math function other than calc(), which only groups.
Variants§
Min
Max
Clamp
Round(Rounding)
Mod
Rem
Sin
Cos
Tan
Asin
Acos
Atan
Atan2
Pow
Sqrt
Hypot
Log
Exp
Abs
Sign
SiblingIndex
sibling-index() and sibling-count(), CSS Values 5 §8: numbers
only the element’s place in the tree can give.
SiblingCount
Implementations§
Trait Implementations§
Source§impl Clone for MathFunction
impl Clone for MathFunction
Source§fn clone(&self) -> MathFunction
fn clone(&self) -> MathFunction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MathFunction
Source§impl Debug for MathFunction
impl Debug for MathFunction
impl Eq for MathFunction
Source§impl PartialEq for MathFunction
impl PartialEq for MathFunction
impl StructuralPartialEq for MathFunction
Auto Trait Implementations§
impl Forget for MathFunction
impl Freeze for MathFunction
impl Move for MathFunction
impl RefUnwindSafe for MathFunction
impl Send for MathFunction
impl Sync for MathFunction
impl Unpin for MathFunction
impl UnsafeUnpin for MathFunction
impl UnwindSafe for MathFunction
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