#[repr(u8)]pub enum LonghandDeclaration {
Show 33 variants
font_size(<FontSize as SpecifiedValue>::SpecifiedValue),
color(<RGBA as SpecifiedValue>::SpecifiedValue),
position(<Position as SpecifiedValue>::SpecifiedValue),
float(<Float as SpecifiedValue>::SpecifiedValue),
display(<Display as SpecifiedValue>::SpecifiedValue),
top(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue),
left(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue),
bottom(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue),
right(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue),
width(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue),
height(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue),
margin_top(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue),
margin_left(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue),
margin_bottom(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue),
margin_right(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue),
padding_top(<LengthOrPercentage as SpecifiedValue>::SpecifiedValue),
padding_left(<LengthOrPercentage as SpecifiedValue>::SpecifiedValue),
padding_bottom(<LengthOrPercentage as SpecifiedValue>::SpecifiedValue),
padding_right(<LengthOrPercentage as SpecifiedValue>::SpecifiedValue),
border_top_color(<Color as SpecifiedValue>::SpecifiedValue),
border_left_color(<Color as SpecifiedValue>::SpecifiedValue),
border_bottom_color(<Color as SpecifiedValue>::SpecifiedValue),
border_right_color(<Color as SpecifiedValue>::SpecifiedValue),
border_top_style(<LineStyle as SpecifiedValue>::SpecifiedValue),
border_left_style(<LineStyle as SpecifiedValue>::SpecifiedValue),
border_bottom_style(<LineStyle as SpecifiedValue>::SpecifiedValue),
border_right_style(<LineStyle as SpecifiedValue>::SpecifiedValue),
border_top_width(<LineWidth as SpecifiedValue>::SpecifiedValue),
border_left_width(<LineWidth as SpecifiedValue>::SpecifiedValue),
border_bottom_width(<LineWidth as SpecifiedValue>::SpecifiedValue),
border_right_width(<LineWidth as SpecifiedValue>::SpecifiedValue),
background_color(<Color as SpecifiedValue>::SpecifiedValue),
CssWide(LonghandId, CssWideKeyword),
}
Variants§
font_size(<FontSize as SpecifiedValue>::SpecifiedValue)
color(<RGBA as SpecifiedValue>::SpecifiedValue)
position(<Position as SpecifiedValue>::SpecifiedValue)
float(<Float as SpecifiedValue>::SpecifiedValue)
display(<Display as SpecifiedValue>::SpecifiedValue)
top(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue)
left(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue)
bottom(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue)
right(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue)
width(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue)
height(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue)
margin_top(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue)
margin_left(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue)
margin_bottom(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue)
margin_right(<LengthOrPercentageOrAuto as SpecifiedValue>::SpecifiedValue)
padding_top(<LengthOrPercentage as SpecifiedValue>::SpecifiedValue)
padding_left(<LengthOrPercentage as SpecifiedValue>::SpecifiedValue)
padding_bottom(<LengthOrPercentage as SpecifiedValue>::SpecifiedValue)
padding_right(<LengthOrPercentage as SpecifiedValue>::SpecifiedValue)
border_top_color(<Color as SpecifiedValue>::SpecifiedValue)
border_left_color(<Color as SpecifiedValue>::SpecifiedValue)
border_bottom_color(<Color as SpecifiedValue>::SpecifiedValue)
border_right_color(<Color as SpecifiedValue>::SpecifiedValue)
border_top_style(<LineStyle as SpecifiedValue>::SpecifiedValue)
border_left_style(<LineStyle as SpecifiedValue>::SpecifiedValue)
border_bottom_style(<LineStyle as SpecifiedValue>::SpecifiedValue)
border_right_style(<LineStyle as SpecifiedValue>::SpecifiedValue)
border_top_width(<LineWidth as SpecifiedValue>::SpecifiedValue)
border_left_width(<LineWidth as SpecifiedValue>::SpecifiedValue)
border_bottom_width(<LineWidth as SpecifiedValue>::SpecifiedValue)
border_right_width(<LineWidth as SpecifiedValue>::SpecifiedValue)
background_color(<Color as SpecifiedValue>::SpecifiedValue)
CssWide(LonghandId, CssWideKeyword)
Implementations§
source§impl LonghandDeclaration
impl LonghandDeclaration
pub fn if_early_cascade_into(&self, context: &mut EarlyCascadeContext<'_>)
pub fn if_late_cascade_into(&self, context: &mut CascadeContext<'_>)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LonghandDeclaration
impl Send for LonghandDeclaration
impl Sync for LonghandDeclaration
impl Unpin for LonghandDeclaration
impl UnwindSafe for LonghandDeclaration
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