pub enum CssPropertyCategory {
GpuOnly,
Layout,
Paint,
InheritedLayout,
InheritedPaint,
}Expand description
Categorizes a CSS property by its effect on the layout pipeline.
Variants§
GpuOnly
Layout
Affects geometry (width, height, margin, padding, font-size, etc.)
Paint
Affects only appearance (color, background-color, etc.)
InheritedLayout
A layout-affecting property that also requires children to be re-evaluated.
InheritedPaint
A paint-affecting property that also requires children to be re-evaluated.
Trait Implementations§
Source§impl Clone for CssPropertyCategory
impl Clone for CssPropertyCategory
Source§fn clone(&self) -> CssPropertyCategory
fn clone(&self) -> CssPropertyCategory
Returns a duplicate of the value. Read more
1.0.0 · 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 CssPropertyCategory
impl Debug for CssPropertyCategory
Source§impl Hash for CssPropertyCategory
impl Hash for CssPropertyCategory
Source§impl Ord for CssPropertyCategory
impl Ord for CssPropertyCategory
Source§fn cmp(&self, other: &CssPropertyCategory) -> Ordering
fn cmp(&self, other: &CssPropertyCategory) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CssPropertyCategory
impl PartialEq for CssPropertyCategory
Source§impl PartialOrd for CssPropertyCategory
impl PartialOrd for CssPropertyCategory
impl Copy for CssPropertyCategory
impl Eq for CssPropertyCategory
impl StructuralPartialEq for CssPropertyCategory
Auto Trait Implementations§
impl Freeze for CssPropertyCategory
impl RefUnwindSafe for CssPropertyCategory
impl Send for CssPropertyCategory
impl Sync for CssPropertyCategory
impl Unpin for CssPropertyCategory
impl UnwindSafe for CssPropertyCategory
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