#[repr(u16)]pub enum LonghandId {
Show 344 variants
AlignItems = 0,
AlignmentBaseline = 1,
BackfaceVisibility = 2,
BaselineSource = 3,
BorderCollapse = 4,
BorderImageRepeat = 5,
BoxDecorationBreak = 6,
BoxSizing = 7,
CaptionSide = 8,
Clear = 9,
ColumnSpan = 10,
Contain = 11,
ContainerType = 12,
Direction = 13,
Display = 14,
DominantBaseline = 15,
EmptyCells = 16,
FlexDirection = 17,
FlexWrap = 18,
Float = 19,
FontKerning = 20,
FontLanguageOverride = 21,
FontOpticalSizing = 22,
FontSynthesisStyle = 23,
FontVariantCaps = 24,
FontVariantEastAsian = 25,
FontVariantEmoji = 26,
FontVariantLigatures = 27,
FontVariantNumeric = 28,
FontVariantPosition = 29,
ForcedColorAdjust = 30,
GridAutoFlow = 31,
Hyphens = 32,
ImageRendering = 33,
Interactivity = 34,
Isolation = 35,
JustifyItems = 36,
LineBreak = 37,
ListStylePosition = 38,
MaskType = 39,
MathStyle = 40,
MixBlendMode = 41,
MozInert = 42,
ObjectFit = 43,
OutlineStyle = 44,
OverflowWrap = 45,
PaintOrder = 46,
PointerEvents = 47,
Position = 48,
PositionArea = 49,
PositionTryOrder = 50,
PositionVisibility = 51,
RubyAlign = 52,
RubyPosition = 53,
ScrollBehavior = 54,
ScrollbarWidth = 55,
ServoTopLayer = 56,
ShapeRendering = 57,
StrokeLinecap = 58,
StrokeLinejoin = 59,
TableLayout = 60,
TextAlign = 61,
TextAlignLast = 62,
TextAnchor = 63,
TextAutospace = 64,
TextBoxEdge = 65,
TextBoxTrim = 66,
TextCombineUpright = 67,
TextDecorationLine = 68,
TextDecorationStyle = 69,
TextEmphasisPosition = 70,
TextJustify = 71,
TextOrientation = 72,
TextRendering = 73,
TextTransform = 74,
TextUnderlinePosition = 75,
TextWrapMode = 76,
TextWrapStyle = 77,
TouchAction = 78,
TransformBox = 79,
TransformStyle = 80,
UnicodeBidi = 81,
UserSelect = 82,
VectorEffect = 83,
Visibility = 84,
WebkitTextSecurity = 85,
WhiteSpaceCollapse = 86,
WordBreak = 87,
WritingMode = 88,
XTextScale = 89,
Appearance = 90,
MozDefaultAppearance = 91,
ColorInterpolation = 92,
ColorInterpolationFilters = 93,
AlignContent = 94,
JustifyContent = 95,
ClipRule = 96,
FillRule = 97,
AlignSelf = 98,
JustifySelf = 99,
FontSynthesisPosition = 100,
FontSynthesisSmallCaps = 101,
FontSynthesisWeight = 102,
OverflowBlock = 103,
OverflowInline = 104,
OverflowX = 105,
OverflowY = 106,
OverscrollBehaviorBlock = 107,
OverscrollBehaviorInline = 108,
OverscrollBehaviorX = 109,
OverscrollBehaviorY = 110,
BorderBlockEndStyle = 111,
BorderBlockStartStyle = 112,
BorderBottomStyle = 113,
BorderInlineEndStyle = 114,
BorderInlineStartStyle = 115,
BorderLeftStyle = 116,
BorderRightStyle = 117,
BorderTopStyle = 118,
AnchorName = 119,
AnchorScope = 120,
AnimationComposition = 121,
AnimationDelay = 122,
AnimationDirection = 123,
AnimationDuration = 124,
AnimationFillMode = 125,
AnimationIterationCount = 126,
AnimationName = 127,
AnimationPlayState = 128,
AnimationRangeEnd = 129,
AnimationRangeStart = 130,
AnimationTimeline = 131,
AnimationTimingFunction = 132,
AspectRatio = 133,
BackdropFilter = 134,
BackgroundAttachment = 135,
BackgroundBlendMode = 136,
BackgroundClip = 137,
BackgroundImage = 138,
BackgroundOrigin = 139,
BackgroundPositionX = 140,
BackgroundPositionY = 141,
BackgroundRepeat = 142,
BackgroundSize = 143,
BaselineShift = 144,
BorderImageOutset = 145,
BorderImageSlice = 146,
BorderImageWidth = 147,
BorderSpacing = 148,
BoxShadow = 149,
CaretColor = 150,
Clip = 151,
ClipPath = 152,
Color = 153,
ColorScheme = 154,
ColumnCount = 155,
ColumnWidth = 156,
ContainerName = 157,
Content = 158,
CounterIncrement = 159,
CounterReset = 160,
CounterSet = 161,
Cursor = 162,
D = 163,
Filter = 164,
FitTolerance = 165,
FlexBasis = 166,
FontFamily = 167,
FontFeatureSettings = 168,
FontSize = 169,
FontSizeAdjust = 170,
FontStyle = 171,
FontVariantAlternates = 172,
FontVariationSettings = 173,
FontWeight = 174,
FontWidth = 175,
GridTemplateAreas = 176,
HyphenateCharacter = 177,
HyphenateLimitChars = 178,
InitialLetter = 179,
LetterSpacing = 180,
LineClamp = 181,
LineHeight = 182,
ListStyleType = 183,
MaskClip = 184,
MaskComposite = 185,
MaskImage = 186,
MaskMode = 187,
MaskOrigin = 188,
MaskPositionX = 189,
MaskPositionY = 190,
MaskRepeat = 191,
MaskSize = 192,
MathDepth = 193,
MozMinFontSizeRatio = 194,
OffsetPath = 195,
OutlineOffset = 196,
OverflowClipMargin = 197,
Perspective = 198,
PositionAnchor = 199,
PositionTryFallbacks = 200,
Quotes = 201,
Rotate = 202,
Scale = 203,
ScrollbarColor = 204,
StrokeDasharray = 205,
StrokeDashoffset = 206,
StrokeWidth = 207,
TabSize = 208,
TextDecorationInset = 209,
TextDecorationThickness = 210,
TextEmphasisStyle = 211,
TextIndent = 212,
TextOverflow = 213,
TextShadow = 214,
TextUnderlineOffset = 215,
Transform = 216,
TransformOrigin = 217,
TransitionBehavior = 218,
TransitionDelay = 219,
TransitionDuration = 220,
TransitionProperty = 221,
TransitionTimingFunction = 222,
Translate = 223,
ViewTransitionClass = 224,
ViewTransitionName = 225,
WillChange = 226,
WordSpacing = 227,
XLang = 228,
ZIndex = 229,
Zoom = 230,
ObjectPosition = 231,
PerspectiveOrigin = 232,
Fill = 233,
Stroke = 234,
GridTemplateColumns = 235,
GridTemplateRows = 236,
BorderImageSource = 237,
ListStyleImage = 238,
GridAutoColumns = 239,
GridAutoRows = 240,
FlexLineCount = 241,
Order = 242,
Rx = 243,
Ry = 244,
FillOpacity = 245,
StrokeOpacity = 246,
ColumnGap = 247,
RowGap = 248,
FlexGrow = 249,
FlexShrink = 250,
StrokeMiterlimit = 251,
FloodOpacity = 252,
Opacity = 253,
StopOpacity = 254,
MarkerEnd = 255,
MarkerMid = 256,
MarkerStart = 257,
GridColumnEnd = 258,
GridColumnStart = 259,
GridRowEnd = 260,
GridRowStart = 261,
Cx = 262,
Cy = 263,
X = 264,
Y = 265,
MaxBlockSize = 266,
MaxHeight = 267,
MaxInlineSize = 268,
MaxWidth = 269,
BorderBottomLeftRadius = 270,
BorderBottomRightRadius = 271,
BorderEndEndRadius = 272,
BorderEndStartRadius = 273,
BorderStartEndRadius = 274,
BorderStartStartRadius = 275,
BorderTopLeftRadius = 276,
BorderTopRightRadius = 277,
CornerBottomLeftShape = 278,
CornerBottomRightShape = 279,
CornerEndEndShape = 280,
CornerEndStartShape = 281,
CornerStartEndShape = 282,
CornerStartStartShape = 283,
CornerTopLeftShape = 284,
CornerTopRightShape = 285,
Bottom = 286,
InsetBlockEnd = 287,
InsetBlockStart = 288,
InsetInlineEnd = 289,
InsetInlineStart = 290,
Left = 291,
Right = 292,
Top = 293,
MarginBlockEnd = 294,
MarginBlockStart = 295,
MarginBottom = 296,
MarginInlineEnd = 297,
MarginInlineStart = 298,
MarginLeft = 299,
MarginRight = 300,
MarginTop = 301,
BlockSize = 302,
Height = 303,
InlineSize = 304,
MinBlockSize = 305,
MinHeight = 306,
MinInlineSize = 307,
MinWidth = 308,
Width = 309,
BorderBlockEndWidth = 310,
BorderBlockStartWidth = 311,
BorderBottomWidth = 312,
BorderInlineEndWidth = 313,
BorderInlineStartWidth = 314,
BorderLeftWidth = 315,
BorderRightWidth = 316,
BorderTopWidth = 317,
OutlineWidth = 318,
PaddingBlockEnd = 319,
PaddingBlockStart = 320,
PaddingBottom = 321,
PaddingInlineEnd = 322,
PaddingInlineStart = 323,
PaddingLeft = 324,
PaddingRight = 325,
PaddingTop = 326,
R = 327,
BackgroundColor = 328,
BorderBlockEndColor = 329,
BorderBlockStartColor = 330,
BorderBottomColor = 331,
BorderInlineEndColor = 332,
BorderInlineStartColor = 333,
BorderLeftColor = 334,
BorderRightColor = 335,
BorderTopColor = 336,
FloodColor = 337,
LightingColor = 338,
OutlineColor = 339,
StopColor = 340,
TextDecorationColor = 341,
TextEmphasisColor = 342,
WebkitTextFillColor = 343,
}Expand description
An identifier for a given longhand property.
Variants§
AlignItems = 0
align-items
AlignmentBaseline = 1
alignment-baseline
BackfaceVisibility = 2
backface-visibility
BaselineSource = 3
baseline-source
BorderCollapse = 4
border-collapse
BorderImageRepeat = 5
border-image-repeat
BoxDecorationBreak = 6
box-decoration-break
BoxSizing = 7
box-sizing
CaptionSide = 8
caption-side
Clear = 9
clear
ColumnSpan = 10
column-span
Contain = 11
contain
ContainerType = 12
container-type
Direction = 13
direction
Display = 14
display
DominantBaseline = 15
dominant-baseline
EmptyCells = 16
empty-cells
FlexDirection = 17
flex-direction
FlexWrap = 18
flex-wrap
Float = 19
float
FontKerning = 20
font-kerning
FontLanguageOverride = 21
font-language-override
FontOpticalSizing = 22
font-optical-sizing
FontSynthesisStyle = 23
font-synthesis-style
FontVariantCaps = 24
font-variant-caps
FontVariantEastAsian = 25
font-variant-east-asian
FontVariantEmoji = 26
font-variant-emoji
FontVariantLigatures = 27
font-variant-ligatures
FontVariantNumeric = 28
font-variant-numeric
FontVariantPosition = 29
font-variant-position
ForcedColorAdjust = 30
forced-color-adjust
GridAutoFlow = 31
grid-auto-flow
Hyphens = 32
hyphens
ImageRendering = 33
image-rendering
Interactivity = 34
interactivity
Isolation = 35
isolation
JustifyItems = 36
justify-items
LineBreak = 37
line-break
ListStylePosition = 38
list-style-position
MaskType = 39
mask-type
MathStyle = 40
math-style
MixBlendMode = 41
mix-blend-mode
MozInert = 42
-moz-inert
ObjectFit = 43
object-fit
OutlineStyle = 44
outline-style
OverflowWrap = 45
overflow-wrap
PaintOrder = 46
paint-order
PointerEvents = 47
pointer-events
Position = 48
position
PositionArea = 49
position-area
PositionTryOrder = 50
position-try-order
PositionVisibility = 51
position-visibility
RubyAlign = 52
ruby-align
RubyPosition = 53
ruby-position
ScrollBehavior = 54
scroll-behavior
ScrollbarWidth = 55
scrollbar-width
ServoTopLayer = 56
-servo-top-layer
ShapeRendering = 57
shape-rendering
StrokeLinecap = 58
stroke-linecap
StrokeLinejoin = 59
stroke-linejoin
TableLayout = 60
table-layout
TextAlign = 61
text-align
TextAlignLast = 62
text-align-last
TextAnchor = 63
text-anchor
TextAutospace = 64
text-autospace
TextBoxEdge = 65
text-box-edge
TextBoxTrim = 66
text-box-trim
TextCombineUpright = 67
text-combine-upright
TextDecorationLine = 68
text-decoration-line
TextDecorationStyle = 69
text-decoration-style
TextEmphasisPosition = 70
text-emphasis-position
TextJustify = 71
text-justify
TextOrientation = 72
text-orientation
TextRendering = 73
text-rendering
TextTransform = 74
text-transform
TextUnderlinePosition = 75
text-underline-position
TextWrapMode = 76
text-wrap-mode
TextWrapStyle = 77
text-wrap-style
TouchAction = 78
touch-action
TransformBox = 79
transform-box
TransformStyle = 80
transform-style
UnicodeBidi = 81
unicode-bidi
UserSelect = 82
user-select
VectorEffect = 83
vector-effect
Visibility = 84
visibility
WebkitTextSecurity = 85
-webkit-text-security
WhiteSpaceCollapse = 86
white-space-collapse
WordBreak = 87
word-break
WritingMode = 88
writing-mode
XTextScale = 89
-x-text-scale
Appearance = 90
appearance
MozDefaultAppearance = 91
-moz-default-appearance
ColorInterpolation = 92
color-interpolation
ColorInterpolationFilters = 93
color-interpolation-filters
AlignContent = 94
align-content
JustifyContent = 95
justify-content
ClipRule = 96
clip-rule
FillRule = 97
fill-rule
AlignSelf = 98
align-self
JustifySelf = 99
justify-self
FontSynthesisPosition = 100
font-synthesis-position
FontSynthesisSmallCaps = 101
font-synthesis-small-caps
FontSynthesisWeight = 102
font-synthesis-weight
OverflowBlock = 103
overflow-block
OverflowInline = 104
overflow-inline
OverflowX = 105
overflow-x
OverflowY = 106
overflow-y
OverscrollBehaviorBlock = 107
overscroll-behavior-block
OverscrollBehaviorInline = 108
overscroll-behavior-inline
OverscrollBehaviorX = 109
overscroll-behavior-x
OverscrollBehaviorY = 110
overscroll-behavior-y
BorderBlockEndStyle = 111
border-block-end-style
BorderBlockStartStyle = 112
border-block-start-style
BorderBottomStyle = 113
border-bottom-style
BorderInlineEndStyle = 114
border-inline-end-style
BorderInlineStartStyle = 115
border-inline-start-style
BorderLeftStyle = 116
border-left-style
BorderRightStyle = 117
border-right-style
BorderTopStyle = 118
border-top-style
AnchorName = 119
anchor-name
AnchorScope = 120
anchor-scope
AnimationComposition = 121
animation-composition
AnimationDelay = 122
animation-delay
AnimationDirection = 123
animation-direction
AnimationDuration = 124
animation-duration
AnimationFillMode = 125
animation-fill-mode
AnimationIterationCount = 126
animation-iteration-count
AnimationName = 127
animation-name
AnimationPlayState = 128
animation-play-state
AnimationRangeEnd = 129
animation-range-end
AnimationRangeStart = 130
animation-range-start
AnimationTimeline = 131
animation-timeline
AnimationTimingFunction = 132
animation-timing-function
AspectRatio = 133
aspect-ratio
BackdropFilter = 134
backdrop-filter
BackgroundAttachment = 135
background-attachment
BackgroundBlendMode = 136
background-blend-mode
BackgroundClip = 137
background-clip
BackgroundImage = 138
background-image
BackgroundOrigin = 139
background-origin
BackgroundPositionX = 140
background-position-x
BackgroundPositionY = 141
background-position-y
BackgroundRepeat = 142
background-repeat
BackgroundSize = 143
background-size
BaselineShift = 144
baseline-shift
BorderImageOutset = 145
border-image-outset
BorderImageSlice = 146
border-image-slice
BorderImageWidth = 147
border-image-width
BorderSpacing = 148
border-spacing
BoxShadow = 149
box-shadow
CaretColor = 150
caret-color
Clip = 151
clip
ClipPath = 152
clip-path
Color = 153
color
ColorScheme = 154
color-scheme
ColumnCount = 155
column-count
ColumnWidth = 156
column-width
ContainerName = 157
container-name
Content = 158
content
CounterIncrement = 159
counter-increment
CounterReset = 160
counter-reset
CounterSet = 161
counter-set
Cursor = 162
cursor
D = 163
d
Filter = 164
filter
FitTolerance = 165
fit-tolerance
FlexBasis = 166
flex-basis
FontFamily = 167
font-family
FontFeatureSettings = 168
font-feature-settings
FontSize = 169
font-size
FontSizeAdjust = 170
font-size-adjust
FontStyle = 171
font-style
FontVariantAlternates = 172
font-variant-alternates
FontVariationSettings = 173
font-variation-settings
FontWeight = 174
font-weight
FontWidth = 175
font-width
GridTemplateAreas = 176
grid-template-areas
HyphenateCharacter = 177
hyphenate-character
HyphenateLimitChars = 178
hyphenate-limit-chars
InitialLetter = 179
initial-letter
LetterSpacing = 180
letter-spacing
LineClamp = 181
line-clamp
LineHeight = 182
line-height
ListStyleType = 183
list-style-type
MaskClip = 184
mask-clip
MaskComposite = 185
mask-composite
MaskImage = 186
mask-image
MaskMode = 187
mask-mode
MaskOrigin = 188
mask-origin
MaskPositionX = 189
mask-position-x
MaskPositionY = 190
mask-position-y
MaskRepeat = 191
mask-repeat
MaskSize = 192
mask-size
MathDepth = 193
math-depth
MozMinFontSizeRatio = 194
-moz-min-font-size-ratio
OffsetPath = 195
offset-path
OutlineOffset = 196
outline-offset
OverflowClipMargin = 197
overflow-clip-margin
Perspective = 198
perspective
PositionAnchor = 199
position-anchor
PositionTryFallbacks = 200
position-try-fallbacks
Quotes = 201
quotes
Rotate = 202
rotate
Scale = 203
scale
ScrollbarColor = 204
scrollbar-color
StrokeDasharray = 205
stroke-dasharray
StrokeDashoffset = 206
stroke-dashoffset
StrokeWidth = 207
stroke-width
TabSize = 208
tab-size
TextDecorationInset = 209
text-decoration-inset
TextDecorationThickness = 210
text-decoration-thickness
TextEmphasisStyle = 211
text-emphasis-style
TextIndent = 212
text-indent
TextOverflow = 213
text-overflow
TextShadow = 214
text-shadow
TextUnderlineOffset = 215
text-underline-offset
Transform = 216
transform
TransformOrigin = 217
transform-origin
TransitionBehavior = 218
transition-behavior
TransitionDelay = 219
transition-delay
TransitionDuration = 220
transition-duration
TransitionProperty = 221
transition-property
TransitionTimingFunction = 222
transition-timing-function
Translate = 223
translate
ViewTransitionClass = 224
view-transition-class
ViewTransitionName = 225
view-transition-name
WillChange = 226
will-change
WordSpacing = 227
word-spacing
XLang = 228
-x-lang
ZIndex = 229
z-index
Zoom = 230
zoom
ObjectPosition = 231
object-position
PerspectiveOrigin = 232
perspective-origin
Fill = 233
fill
Stroke = 234
stroke
GridTemplateColumns = 235
grid-template-columns
GridTemplateRows = 236
grid-template-rows
BorderImageSource = 237
border-image-source
ListStyleImage = 238
list-style-image
GridAutoColumns = 239
grid-auto-columns
GridAutoRows = 240
grid-auto-rows
FlexLineCount = 241
flex-line-count
Order = 242
order
Rx = 243
rx
Ry = 244
ry
FillOpacity = 245
fill-opacity
StrokeOpacity = 246
stroke-opacity
ColumnGap = 247
column-gap
RowGap = 248
row-gap
FlexGrow = 249
flex-grow
FlexShrink = 250
flex-shrink
StrokeMiterlimit = 251
stroke-miterlimit
FloodOpacity = 252
flood-opacity
Opacity = 253
opacity
StopOpacity = 254
stop-opacity
MarkerEnd = 255
marker-end
MarkerMid = 256
marker-mid
MarkerStart = 257
marker-start
GridColumnEnd = 258
grid-column-end
GridColumnStart = 259
grid-column-start
GridRowEnd = 260
grid-row-end
GridRowStart = 261
grid-row-start
Cx = 262
cx
Cy = 263
cy
X = 264
x
Y = 265
y
MaxBlockSize = 266
max-block-size
MaxHeight = 267
max-height
MaxInlineSize = 268
max-inline-size
MaxWidth = 269
max-width
BorderBottomLeftRadius = 270
border-bottom-left-radius
BorderBottomRightRadius = 271
border-bottom-right-radius
BorderEndEndRadius = 272
border-end-end-radius
BorderEndStartRadius = 273
border-end-start-radius
BorderStartEndRadius = 274
border-start-end-radius
BorderStartStartRadius = 275
border-start-start-radius
BorderTopLeftRadius = 276
border-top-left-radius
BorderTopRightRadius = 277
border-top-right-radius
CornerBottomLeftShape = 278
corner-bottom-left-shape
CornerBottomRightShape = 279
corner-bottom-right-shape
CornerEndEndShape = 280
corner-end-end-shape
CornerEndStartShape = 281
corner-end-start-shape
CornerStartEndShape = 282
corner-start-end-shape
CornerStartStartShape = 283
corner-start-start-shape
CornerTopLeftShape = 284
corner-top-left-shape
CornerTopRightShape = 285
corner-top-right-shape
Bottom = 286
bottom
InsetBlockEnd = 287
inset-block-end
InsetBlockStart = 288
inset-block-start
InsetInlineEnd = 289
inset-inline-end
InsetInlineStart = 290
inset-inline-start
Left = 291
left
Right = 292
right
Top = 293
top
MarginBlockEnd = 294
margin-block-end
MarginBlockStart = 295
margin-block-start
MarginBottom = 296
margin-bottom
MarginInlineEnd = 297
margin-inline-end
MarginInlineStart = 298
margin-inline-start
MarginLeft = 299
margin-left
MarginRight = 300
margin-right
MarginTop = 301
margin-top
BlockSize = 302
block-size
Height = 303
height
InlineSize = 304
inline-size
MinBlockSize = 305
min-block-size
MinHeight = 306
min-height
MinInlineSize = 307
min-inline-size
MinWidth = 308
min-width
Width = 309
width
BorderBlockEndWidth = 310
border-block-end-width
BorderBlockStartWidth = 311
border-block-start-width
BorderBottomWidth = 312
border-bottom-width
BorderInlineEndWidth = 313
border-inline-end-width
BorderInlineStartWidth = 314
border-inline-start-width
BorderLeftWidth = 315
border-left-width
BorderRightWidth = 316
border-right-width
BorderTopWidth = 317
border-top-width
OutlineWidth = 318
outline-width
PaddingBlockEnd = 319
padding-block-end
PaddingBlockStart = 320
padding-block-start
PaddingBottom = 321
padding-bottom
PaddingInlineEnd = 322
padding-inline-end
PaddingInlineStart = 323
padding-inline-start
PaddingLeft = 324
padding-left
PaddingRight = 325
padding-right
PaddingTop = 326
padding-top
R = 327
r
BackgroundColor = 328
background-color
BorderBlockEndColor = 329
border-block-end-color
BorderBlockStartColor = 330
border-block-start-color
BorderBottomColor = 331
border-bottom-color
BorderInlineEndColor = 332
border-inline-end-color
BorderInlineStartColor = 333
border-inline-start-color
BorderLeftColor = 334
border-left-color
BorderRightColor = 335
border-right-color
BorderTopColor = 336
border-top-color
FloodColor = 337
flood-color
LightingColor = 338
lighting-color
OutlineColor = 339
outline-color
StopColor = 340
stop-color
TextDecorationColor = 341
text-decoration-color
TextEmphasisColor = 342
text-emphasis-color
WebkitTextFillColor = 343
-webkit-text-fill-color
Implementations§
Source§impl LonghandId
impl LonghandId
Sourcepub fn shorthands(self) -> NonCustomPropertyIterator<ShorthandId> ⓘ
pub fn shorthands(self) -> NonCustomPropertyIterator<ShorthandId> ⓘ
Returns an iterator over all the shorthands that include this longhand.
pub(super) fn parse_value( self, context: &ParserContext<'_>, input: &mut Parser<'_>, ) -> Result<PropertyDeclaration, ParseError>
Sourcefn logical_mapping_data(self) -> Option<&'static LogicalMappingData>
fn logical_mapping_data(self) -> Option<&'static LogicalMappingData>
Return the relevant data to map a particular logical property into physical.
Sourcepub fn to_physical(self, wm: WritingMode) -> Self
pub fn to_physical(self, wm: WritingMode) -> Self
If this is a logical property, return the corresponding physical one in the given writing mode. Otherwise, return unchanged.
Sourcepub fn logical_group(self) -> Option<LogicalGroupId>
pub fn logical_group(self) -> Option<LogicalGroupId>
Return the logical group of this longhand property.
Sourcepub fn flags(self) -> PropertyFlags
pub fn flags(self) -> PropertyFlags
Returns PropertyFlags for given longhand property.
Source§impl LonghandId
impl LonghandId
Sourcepub fn zoom_dependent(self) -> bool
pub fn zoom_dependent(self) -> bool
Returns whether the longhand property is zoom-dependent.
Sourcepub fn ignored_when_document_colors_disabled(self) -> bool
pub fn ignored_when_document_colors_disabled(self) -> bool
Returns true if the property is one that is ignored when document colors are disabled.
Sourcepub fn is_or_is_longhand_of(self, non_custom: NonCustomPropertyId) -> bool
pub fn is_or_is_longhand_of(self, non_custom: NonCustomPropertyId) -> bool
Returns whether this longhand is non_custom or is a longhand of it.
Sourcepub fn is_longhand_of(self, shorthand: ShorthandId) -> bool
pub fn is_longhand_of(self, shorthand: ShorthandId) -> bool
Returns whether this longhand is a longhand of shorthand.
Sourcepub fn is_animatable(self) -> bool
pub fn is_animatable(self) -> bool
Returns whether this property is animatable.
Sourcepub fn is_discrete_animatable(self) -> bool
pub fn is_discrete_animatable(self) -> bool
Returns whether this property is animatable in a discrete way.
Sourcepub fn is_logical(self) -> bool
pub fn is_logical(self) -> bool
Return whether this property is logical.
Trait Implementations§
Source§impl Clone for LonghandId
impl Clone for LonghandId
Source§fn clone(&self) -> LonghandId
fn clone(&self) -> LonghandId
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for LonghandId
Source§impl Debug for LonghandId
impl Debug for LonghandId
impl Eq for LonghandId
Source§impl From<LonghandId> for NonCustomPropertyId
impl From<LonghandId> for NonCustomPropertyId
Source§fn from(id: LonghandId) -> Self
fn from(id: LonghandId) -> Self
Source§impl Hash for LonghandId
impl Hash for LonghandId
Source§impl IndexedId for LonghandId
impl IndexedId for LonghandId
Source§impl MallocSizeOf for LonghandId
impl MallocSizeOf for LonghandId
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Source§impl PartialEq for LonghandId
impl PartialEq for LonghandId
impl StructuralPartialEq for LonghandId
Source§impl ToComputedValue for LonghandId
impl ToComputedValue for LonghandId
Source§type ComputedValue = LonghandId
type ComputedValue = LonghandId
Source§fn from_computed_value(from: &Self::ComputedValue) -> Self
fn from_computed_value(from: &Self::ComputedValue) -> Self
Source§fn to_computed_value(&self, context: &Context<'_>) -> Self::ComputedValue
fn to_computed_value(&self, context: &Context<'_>) -> Self::ComputedValue
Context.Source§impl ToCss for LonghandId
impl ToCss for LonghandId
Source§fn to_css<W>(&self, dest: &mut CssWriter<'_, W>) -> Resultwhere
W: Write,
fn to_css<W>(&self, dest: &mut CssWriter<'_, W>) -> Resultwhere
W: Write,
self in CSS syntax, writing to dest.Source§fn to_css_string(&self) -> String
fn to_css_string(&self) -> String
self in CSS syntax and return a string. Read moreSource§fn to_css_cssstring(&self) -> String
fn to_css_cssstring(&self) -> String
self in CSS syntax and return a CssString. Read moreSource§impl ToResolvedValue for LonghandId
impl ToResolvedValue for LonghandId
Source§type ResolvedValue = LonghandId
type ResolvedValue = LonghandId
Source§fn from_resolved_value(from: Self::ResolvedValue) -> Self
fn from_resolved_value(from: Self::ResolvedValue) -> Self
Source§fn to_resolved_value(self, context: &Context<'_>) -> Self::ResolvedValue
fn to_resolved_value(self, context: &Context<'_>) -> Self::ResolvedValue
Source§impl ToShmem for LonghandId
impl ToShmem for LonghandId
Auto Trait Implementations§
impl Freeze for LonghandId
impl RefUnwindSafe for LonghandId
impl Send for LonghandId
impl Sync for LonghandId
impl Unpin for LonghandId
impl UnsafeUnpin for LonghandId
impl UnwindSafe for LonghandId
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
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
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more