pub enum StyleProp<'a> {
Background(&'a str),
Color(&'a str),
Width(&'a str),
Height(&'a str),
FontSize(&'a str),
Raw(&'a str, &'a str),
}Expand description
Normalized style property enum
Variants§
Background(&'a str)
Color(&'a str)
Width(&'a str)
Height(&'a str)
FontSize(&'a str)
Raw(&'a str, &'a str)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StyleProp<'a>
impl<'a> RefUnwindSafe for StyleProp<'a>
impl<'a> Send for StyleProp<'a>
impl<'a> Sync for StyleProp<'a>
impl<'a> Unpin for StyleProp<'a>
impl<'a> UnsafeUnpin for StyleProp<'a>
impl<'a> UnwindSafe for StyleProp<'a>
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