pub struct Length {
pub number: f64,
pub unit: LengthUnit,
}
Expand description
Representation of the <length>
type.
Fields
number: f64
unit: LengthUnit
Implementations
Trait Implementations
impl Copy 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
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