Enum cssparser_color::AngleOrNumber
source · pub enum AngleOrNumber {
Number {
value: f32,
},
Angle {
degrees: f32,
},
}
Expand description
Either an angle or a number.
Variants§
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AngleOrNumber
impl Send for AngleOrNumber
impl Sync for AngleOrNumber
impl Unpin for AngleOrNumber
impl UnwindSafe for AngleOrNumber
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