Struct swc_css_ast::Number
source · pub struct Number {
pub span: Span,
pub value: f64,
pub raw: Option<Atom>,
}
Fields§
§span: Span
§value: f64
§raw: Option<Atom>
Trait Implementations§
source§impl EqIgnoreSpan for Number
impl EqIgnoreSpan for Number
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<Number> for AlphaValue
impl From<Number> for AlphaValue
source§impl From<Number> for CmykComponent
impl From<Number> for CmykComponent
source§impl From<Number> for MediaFeatureValue
impl From<Number> for MediaFeatureValue
source§impl From<Number> for SizeFeatureValue
impl From<Number> for SizeFeatureValue
source§impl PartialEq<Number> for Number
impl PartialEq<Number> for Number
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§
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