Struct swc_css_ast::Ratio
source · pub struct Ratio {
pub span: Span,
pub left: Number,
pub right: Option<Number>,
}
Fields§
§span: Span
§left: Number
§right: Option<Number>
Trait Implementations§
source§impl EqIgnoreSpan for Ratio
impl EqIgnoreSpan for Ratio
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<Ratio> for MediaFeatureValue
impl From<Ratio> for MediaFeatureValue
source§impl From<Ratio> for SizeFeatureValue
impl From<Ratio> for SizeFeatureValue
source§impl PartialEq for Ratio
impl PartialEq for Ratio
impl Eq for Ratio
impl StructuralEq for Ratio
impl StructuralPartialEq for Ratio
Auto Trait Implementations§
impl RefUnwindSafe for Ratio
impl Send for Ratio
impl Sync for Ratio
impl Unpin for Ratio
impl UnwindSafe for Ratio
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