pub enum CssValue {
Show 26 variants
Avoid,
Block,
Border(CssBorder),
Center,
Color(CssColor),
Column,
Flex,
FlexStart,
FontFamily(CssFontFamily),
FontStyle(CssFontStyle),
Grid,
Hidden,
InlineBlock,
Integer(i64),
Left,
None,
Num1(CssNumber),
Num2(CssNumber, CssNumber),
Num3(CssNumber, CssNumber, CssNumber),
Num4(CssNumber, CssNumber, CssNumber, CssNumber),
Relative,
Right,
Row,
Start,
Unset,
Zero,
}Variants§
Avoid
Block
Border(CssBorder)
Center
Color(CssColor)
Column
Flex
FlexStart
FontFamily(CssFontFamily)
FontStyle(CssFontStyle)
Grid
Hidden
InlineBlock
Integer(i64)
Left
None
Num1(CssNumber)
Num2(CssNumber, CssNumber)
Num3(CssNumber, CssNumber, CssNumber)
Num4(CssNumber, CssNumber, CssNumber, CssNumber)
Relative
Right
Row
Start
Unset
Zero
Trait Implementations§
Source§impl From<CssFontFamily> for CssValue
impl From<CssFontFamily> for CssValue
Source§fn from(value: CssFontFamily) -> Self
fn from(value: CssFontFamily) -> Self
Converts to this type from the input type.
Source§impl From<CssFontStyle> for CssValue
impl From<CssFontStyle> for CssValue
Source§fn from(value: CssFontStyle) -> Self
fn from(value: CssFontStyle) -> Self
Converts to this type from the input type.
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§
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