pub enum PropertyId {
Show 54 variants
Display,
Position,
Width,
Height,
MinWidth,
MinHeight,
MaxWidth,
MaxHeight,
MarginTop,
MarginRight,
MarginBottom,
MarginLeft,
PaddingTop,
PaddingRight,
PaddingBottom,
PaddingLeft,
BorderTopWidth,
BorderRightWidth,
BorderBottomWidth,
BorderLeftWidth,
BoxSizing,
OverflowX,
OverflowY,
Float,
Clear,
FlexDirection,
FlexWrap,
FlexGrow,
FlexShrink,
FlexBasis,
AlignItems,
AlignSelf,
AlignContent,
JustifyContent,
JustifyItems,
JustifySelf,
Gap,
RowGap,
ColumnGap,
FontSize,
FontFamily,
FontWeight,
FontStyle,
LineHeight,
TextAlign,
WhiteSpace,
Color,
BackgroundColor,
Visibility,
Opacity,
ZIndex,
ContentVisibility,
Transform,
Custom(String),
}Expand description
Identifies a CSS property by name.
Variants§
Display
Position
Width
Height
MinWidth
MinHeight
MaxWidth
MaxHeight
MarginTop
MarginRight
MarginBottom
MarginLeft
PaddingTop
PaddingRight
PaddingBottom
PaddingLeft
BorderTopWidth
BorderRightWidth
BorderBottomWidth
BorderLeftWidth
BoxSizing
OverflowX
OverflowY
Float
Clear
FlexDirection
FlexWrap
FlexGrow
FlexShrink
FlexBasis
AlignItems
AlignSelf
AlignContent
JustifyContent
JustifyItems
JustifySelf
Gap
RowGap
ColumnGap
FontSize
FontFamily
FontWeight
FontStyle
LineHeight
TextAlign
WhiteSpace
Color
BackgroundColor
Visibility
Opacity
ZIndex
ContentVisibility
Transform
Custom(String)
Implementations§
Trait Implementations§
Source§impl Clone for PropertyId
impl Clone for PropertyId
Source§fn clone(&self) -> PropertyId
fn clone(&self) -> PropertyId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PropertyId
impl Debug for PropertyId
impl Eq for PropertyId
Source§impl Hash for PropertyId
impl Hash for PropertyId
Source§impl PartialEq for PropertyId
impl PartialEq for PropertyId
Source§fn eq(&self, other: &PropertyId) -> bool
fn eq(&self, other: &PropertyId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PropertyId
Auto Trait Implementations§
impl Freeze for PropertyId
impl RefUnwindSafe for PropertyId
impl Send for PropertyId
impl Sync for PropertyId
impl Unpin for PropertyId
impl UnsafeUnpin for PropertyId
impl UnwindSafe for PropertyId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.