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