Struct swc_css_ast::Number
source · [−]Fields
span: Span
value: f64
raw: Option<JsWord>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Number
impl<'de> Deserialize<'de> for Number
sourcefn 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
sourceimpl EqIgnoreSpan for Number
impl EqIgnoreSpan for Number
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<Number> for AlphaValue
impl From<Number> for AlphaValue
sourceimpl From<Number> for CmykComponent
impl From<Number> for CmykComponent
sourceimpl From<Number> for ComponentValue
impl From<Number> for ComponentValue
sourceimpl From<Number> for MediaFeatureValue
impl From<Number> for MediaFeatureValue
sourceimpl From<Number> for SizeFeatureValue
impl From<Number> for SizeFeatureValue
impl Eq for Number
impl StructuralPartialEq for Number
Auto Trait Implementations
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more