Struct swc_css_ast::Ratio
source · [−]Fields
span: Span
left: Number
right: Option<Number>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Ratio
impl<'de> Deserialize<'de> for Ratio
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 Ratio
impl EqIgnoreSpan for Ratio
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<Ratio> for ComponentValue
impl From<Ratio> for ComponentValue
sourceimpl From<Ratio> for MediaFeatureValue
impl From<Ratio> for MediaFeatureValue
sourceimpl From<Ratio> for SizeFeatureValue
impl From<Ratio> for SizeFeatureValue
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
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