pub enum CssValue {
Keyword(String),
Length(FixedPoint, Unit),
Color(u32),
Percentage(FixedPoint),
Number(i32),
Auto,
None,
Inherit,
Initial,
}Expand description
CSS property value
Variants§
Keyword(String)
Length(FixedPoint, Unit)
Color(u32)
Percentage(FixedPoint)
Number(i32)
Auto
None
Inherit
Initial
Trait Implementations§
impl Eq for CssValue
impl StructuralPartialEq for CssValue
Auto Trait Implementations§
impl Freeze for CssValue
impl RefUnwindSafe for CssValue
impl Send for CssValue
impl Sync for CssValue
impl Unpin for CssValue
impl UnwindSafe for CssValue
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)