pub enum Number {
}
Variants§
Real(f32)
Integer(i64)
RealPercent(f32)
IntegerPercent(i64)
RealDvw(f32)
IntegerDvw(i64)
RealDvh(f32)
IntegerDvh(i64)
RealVw(f32)
IntegerVw(i64)
RealVh(f32)
IntegerVh(i64)
Calc(Calculation)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Number
impl<'de> Deserialize<'de> for Number
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<'_enum> From<&'_enum Number> for NumberType
impl<'_enum> From<&'_enum Number> for NumberType
Source§fn from(val: &'_enum Number) -> NumberType
fn from(val: &'_enum Number) -> NumberType
Converts to this type from the input type.
Source§impl From<Number> for NumberType
impl From<Number> for NumberType
Source§fn from(val: Number) -> NumberType
fn from(val: Number) -> NumberType
Converts to this type from the input type.
Source§impl IntoDiscriminant for Number
impl IntoDiscriminant for Number
Source§type Discriminant = NumberType
type Discriminant = NumberType
Enum listing the same variants as this enum but without any data fields
fn discriminant(&self) -> Self::Discriminant
Auto Trait Implementations§
impl Freeze for Number
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
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