Enum swc_css_visit::fields::CalcValueField
source · pub enum CalcValueField {
Number,
Dimension,
Percentage,
Constant,
Sum,
Function,
}
Expand description
This enum represents fields of CalcValueField
Variants§
Number
This represents Number
Dimension
This represents Dimension
Percentage
This represents Percentage
Constant
This represents Constant
Sum
This represents Sum
Function
This represents Function
Implementations§
Trait Implementations§
source§impl Clone for CalcValueField
impl Clone for CalcValueField
source§fn clone(&self) -> CalcValueField
fn clone(&self) -> CalcValueField
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CalcValueField
impl Debug for CalcValueField
source§impl<'de> Deserialize<'de> for CalcValueField
impl<'de> Deserialize<'de> for CalcValueField
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for CalcValueField
impl Hash for CalcValueField
source§impl Ord for CalcValueField
impl Ord for CalcValueField
source§fn cmp(&self, other: &CalcValueField) -> Ordering
fn cmp(&self, other: &CalcValueField) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CalcValueField> for CalcValueField
impl PartialEq<CalcValueField> for CalcValueField
source§fn eq(&self, other: &CalcValueField) -> bool
fn eq(&self, other: &CalcValueField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CalcValueField> for CalcValueField
impl PartialOrd<CalcValueField> for CalcValueField
source§fn partial_cmp(&self, other: &CalcValueField) -> Option<Ordering>
fn partial_cmp(&self, other: &CalcValueField) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more