#[repr(u16)]pub enum LonghandId {
Show 320 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,
FillRule = 17,
FlexDirection = 18,
FlexWrap = 19,
Float = 20,
FontKerning = 21,
FontLanguageOverride = 22,
FontOpticalSizing = 23,
FontSynthesisStyle = 24,
FontVariantCaps = 25,
FontVariantEastAsian = 26,
FontVariantEmoji = 27,
FontVariantLigatures = 28,
FontVariantNumeric = 29,
FontVariantPosition = 30,
ForcedColorAdjust = 31,
GridAutoFlow = 32,
Hyphens = 33,
ImageRendering = 34,
Interactivity = 35,
Isolation = 36,
JustifyItems = 37,
LineBreak = 38,
ListStylePosition = 39,
MaskType = 40,
MathStyle = 41,
MixBlendMode = 42,
MozInert = 43,
ObjectFit = 44,
OutlineStyle = 45,
OverflowWrap = 46,
PointerEvents = 47,
Position = 48,
PositionArea = 49,
RubyAlign = 50,
RubyPosition = 51,
ScrollBehavior = 52,
ScrollbarWidth = 53,
ServoTopLayer = 54,
StrokeLinecap = 55,
StrokeLinejoin = 56,
TableLayout = 57,
TextAlign = 58,
TextAlignLast = 59,
TextAutospace = 60,
TextBoxEdge = 61,
TextBoxTrim = 62,
TextCombineUpright = 63,
TextDecorationLine = 64,
TextDecorationStyle = 65,
TextEmphasisPosition = 66,
TextJustify = 67,
TextOrientation = 68,
TextRendering = 69,
TextTransform = 70,
TextUnderlinePosition = 71,
TextWrapMode = 72,
TextWrapStyle = 73,
TouchAction = 74,
TransformStyle = 75,
UnicodeBidi = 76,
UserSelect = 77,
Visibility = 78,
WebkitTextSecurity = 79,
WhiteSpaceCollapse = 80,
WordBreak = 81,
WritingMode = 82,
XTextScale = 83,
Appearance = 84,
MozDefaultAppearance = 85,
AlignContent = 86,
JustifyContent = 87,
AlignSelf = 88,
JustifySelf = 89,
FontSynthesisPosition = 90,
FontSynthesisSmallCaps = 91,
FontSynthesisWeight = 92,
OverflowBlock = 93,
OverflowInline = 94,
OverflowX = 95,
OverflowY = 96,
OverscrollBehaviorBlock = 97,
OverscrollBehaviorInline = 98,
OverscrollBehaviorX = 99,
OverscrollBehaviorY = 100,
BorderBlockEndStyle = 101,
BorderBlockStartStyle = 102,
BorderBottomStyle = 103,
BorderInlineEndStyle = 104,
BorderInlineStartStyle = 105,
BorderLeftStyle = 106,
BorderRightStyle = 107,
BorderTopStyle = 108,
AnimationComposition = 109,
AnimationDelay = 110,
AnimationDirection = 111,
AnimationDuration = 112,
AnimationFillMode = 113,
AnimationIterationCount = 114,
AnimationName = 115,
AnimationPlayState = 116,
AnimationRangeEnd = 117,
AnimationRangeStart = 118,
AnimationTimeline = 119,
AnimationTimingFunction = 120,
AspectRatio = 121,
BackdropFilter = 122,
BackgroundAttachment = 123,
BackgroundBlendMode = 124,
BackgroundClip = 125,
BackgroundImage = 126,
BackgroundOrigin = 127,
BackgroundPositionX = 128,
BackgroundPositionY = 129,
BackgroundRepeat = 130,
BackgroundSize = 131,
BaselineShift = 132,
BorderImageOutset = 133,
BorderImageSlice = 134,
BorderImageWidth = 135,
BorderSpacing = 136,
BoxShadow = 137,
CaretColor = 138,
Clip = 139,
ClipPath = 140,
Color = 141,
ColorScheme = 142,
ColumnCount = 143,
ColumnWidth = 144,
ContainerName = 145,
Content = 146,
CounterIncrement = 147,
CounterReset = 148,
Cursor = 149,
D = 150,
Filter = 151,
FlexBasis = 152,
FontFamily = 153,
FontFeatureSettings = 154,
FontSize = 155,
FontSizeAdjust = 156,
FontStyle = 157,
FontVariantAlternates = 158,
FontVariationSettings = 159,
FontWeight = 160,
FontWidth = 161,
GridTemplateAreas = 162,
HyphenateCharacter = 163,
InitialLetter = 164,
LetterSpacing = 165,
LineClamp = 166,
LineHeight = 167,
ListStyleType = 168,
MaskClip = 169,
MaskComposite = 170,
MaskImage = 171,
MaskMode = 172,
MaskOrigin = 173,
MaskPositionX = 174,
MaskPositionY = 175,
MaskRepeat = 176,
MaskSize = 177,
MathDepth = 178,
MozMinFontSizeRatio = 179,
OffsetPath = 180,
Opacity = 181,
OutlineOffset = 182,
OverflowClipMargin = 183,
Perspective = 184,
PositionTryFallbacks = 185,
Quotes = 186,
Rotate = 187,
Scale = 188,
ScrollbarColor = 189,
StrokeDasharray = 190,
StrokeDashoffset = 191,
StrokeWidth = 192,
TabSize = 193,
TextDecorationInset = 194,
TextDecorationThickness = 195,
TextEmphasisStyle = 196,
TextIndent = 197,
TextOverflow = 198,
TextShadow = 199,
TextUnderlineOffset = 200,
Transform = 201,
TransformOrigin = 202,
TransitionBehavior = 203,
TransitionDelay = 204,
TransitionDuration = 205,
TransitionProperty = 206,
TransitionTimingFunction = 207,
Translate = 208,
ViewTransitionClass = 209,
ViewTransitionName = 210,
WillChange = 211,
WordSpacing = 212,
XLang = 213,
ZIndex = 214,
Zoom = 215,
ObjectPosition = 216,
PerspectiveOrigin = 217,
Fill = 218,
Stroke = 219,
GridTemplateColumns = 220,
GridTemplateRows = 221,
BorderImageSource = 222,
ListStyleImage = 223,
GridAutoColumns = 224,
GridAutoRows = 225,
FlexLineCount = 226,
Order = 227,
Rx = 228,
Ry = 229,
FillOpacity = 230,
StrokeOpacity = 231,
ColumnGap = 232,
RowGap = 233,
FlexGrow = 234,
FlexShrink = 235,
StrokeMiterlimit = 236,
GridColumnEnd = 237,
GridColumnStart = 238,
GridRowEnd = 239,
GridRowStart = 240,
Cx = 241,
Cy = 242,
X = 243,
Y = 244,
MaxBlockSize = 245,
MaxHeight = 246,
MaxInlineSize = 247,
MaxWidth = 248,
BorderBottomLeftRadius = 249,
BorderBottomRightRadius = 250,
BorderEndEndRadius = 251,
BorderEndStartRadius = 252,
BorderStartEndRadius = 253,
BorderStartStartRadius = 254,
BorderTopLeftRadius = 255,
BorderTopRightRadius = 256,
CornerBottomLeftShape = 257,
CornerBottomRightShape = 258,
CornerEndEndShape = 259,
CornerEndStartShape = 260,
CornerStartEndShape = 261,
CornerStartStartShape = 262,
CornerTopLeftShape = 263,
CornerTopRightShape = 264,
Bottom = 265,
InsetBlockEnd = 266,
InsetBlockStart = 267,
InsetInlineEnd = 268,
InsetInlineStart = 269,
Left = 270,
Right = 271,
Top = 272,
MarginBlockEnd = 273,
MarginBlockStart = 274,
MarginBottom = 275,
MarginInlineEnd = 276,
MarginInlineStart = 277,
MarginLeft = 278,
MarginRight = 279,
MarginTop = 280,
BlockSize = 281,
Height = 282,
InlineSize = 283,
MinBlockSize = 284,
MinHeight = 285,
MinInlineSize = 286,
MinWidth = 287,
Width = 288,
BorderBlockEndWidth = 289,
BorderBlockStartWidth = 290,
BorderBottomWidth = 291,
BorderInlineEndWidth = 292,
BorderInlineStartWidth = 293,
BorderLeftWidth = 294,
BorderRightWidth = 295,
BorderTopWidth = 296,
OutlineWidth = 297,
PaddingBlockEnd = 298,
PaddingBlockStart = 299,
PaddingBottom = 300,
PaddingInlineEnd = 301,
PaddingInlineStart = 302,
PaddingLeft = 303,
PaddingRight = 304,
PaddingTop = 305,
R = 306,
BackgroundColor = 307,
BorderBlockEndColor = 308,
BorderBlockStartColor = 309,
BorderBottomColor = 310,
BorderInlineEndColor = 311,
BorderInlineStartColor = 312,
BorderLeftColor = 313,
BorderRightColor = 314,
BorderTopColor = 315,
OutlineColor = 316,
TextDecorationColor = 317,
TextEmphasisColor = 318,
WebkitTextFillColor = 319,
}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
FillRule = 17
fill-rule
FlexDirection = 18
flex-direction
FlexWrap = 19
flex-wrap
Float = 20
float
FontKerning = 21
font-kerning
FontLanguageOverride = 22
font-language-override
FontOpticalSizing = 23
font-optical-sizing
FontSynthesisStyle = 24
font-synthesis-style
FontVariantCaps = 25
font-variant-caps
FontVariantEastAsian = 26
font-variant-east-asian
FontVariantEmoji = 27
font-variant-emoji
FontVariantLigatures = 28
font-variant-ligatures
FontVariantNumeric = 29
font-variant-numeric
FontVariantPosition = 30
font-variant-position
ForcedColorAdjust = 31
forced-color-adjust
GridAutoFlow = 32
grid-auto-flow
Hyphens = 33
hyphens
ImageRendering = 34
image-rendering
Interactivity = 35
interactivity
Isolation = 36
isolation
JustifyItems = 37
justify-items
LineBreak = 38
line-break
ListStylePosition = 39
list-style-position
MaskType = 40
mask-type
MathStyle = 41
math-style
MixBlendMode = 42
mix-blend-mode
MozInert = 43
-moz-inert
ObjectFit = 44
object-fit
OutlineStyle = 45
outline-style
OverflowWrap = 46
overflow-wrap
PointerEvents = 47
pointer-events
Position = 48
position
PositionArea = 49
position-area
RubyAlign = 50
ruby-align
RubyPosition = 51
ruby-position
ScrollBehavior = 52
scroll-behavior
ScrollbarWidth = 53
scrollbar-width
ServoTopLayer = 54
-servo-top-layer
StrokeLinecap = 55
stroke-linecap
StrokeLinejoin = 56
stroke-linejoin
TableLayout = 57
table-layout
TextAlign = 58
text-align
TextAlignLast = 59
text-align-last
TextAutospace = 60
text-autospace
TextBoxEdge = 61
text-box-edge
TextBoxTrim = 62
text-box-trim
TextCombineUpright = 63
text-combine-upright
TextDecorationLine = 64
text-decoration-line
TextDecorationStyle = 65
text-decoration-style
TextEmphasisPosition = 66
text-emphasis-position
TextJustify = 67
text-justify
TextOrientation = 68
text-orientation
TextRendering = 69
text-rendering
TextTransform = 70
text-transform
TextUnderlinePosition = 71
text-underline-position
TextWrapMode = 72
text-wrap-mode
TextWrapStyle = 73
text-wrap-style
TouchAction = 74
touch-action
TransformStyle = 75
transform-style
UnicodeBidi = 76
unicode-bidi
UserSelect = 77
user-select
Visibility = 78
visibility
WebkitTextSecurity = 79
-webkit-text-security
WhiteSpaceCollapse = 80
white-space-collapse
WordBreak = 81
word-break
WritingMode = 82
writing-mode
XTextScale = 83
-x-text-scale
Appearance = 84
appearance
MozDefaultAppearance = 85
-moz-default-appearance
AlignContent = 86
align-content
JustifyContent = 87
justify-content
AlignSelf = 88
align-self
JustifySelf = 89
justify-self
FontSynthesisPosition = 90
font-synthesis-position
FontSynthesisSmallCaps = 91
font-synthesis-small-caps
FontSynthesisWeight = 92
font-synthesis-weight
OverflowBlock = 93
overflow-block
OverflowInline = 94
overflow-inline
OverflowX = 95
overflow-x
OverflowY = 96
overflow-y
OverscrollBehaviorBlock = 97
overscroll-behavior-block
OverscrollBehaviorInline = 98
overscroll-behavior-inline
OverscrollBehaviorX = 99
overscroll-behavior-x
OverscrollBehaviorY = 100
overscroll-behavior-y
BorderBlockEndStyle = 101
border-block-end-style
BorderBlockStartStyle = 102
border-block-start-style
BorderBottomStyle = 103
border-bottom-style
BorderInlineEndStyle = 104
border-inline-end-style
BorderInlineStartStyle = 105
border-inline-start-style
BorderLeftStyle = 106
border-left-style
BorderRightStyle = 107
border-right-style
BorderTopStyle = 108
border-top-style
AnimationComposition = 109
animation-composition
AnimationDelay = 110
animation-delay
AnimationDirection = 111
animation-direction
AnimationDuration = 112
animation-duration
AnimationFillMode = 113
animation-fill-mode
AnimationIterationCount = 114
animation-iteration-count
AnimationName = 115
animation-name
AnimationPlayState = 116
animation-play-state
AnimationRangeEnd = 117
animation-range-end
AnimationRangeStart = 118
animation-range-start
AnimationTimeline = 119
animation-timeline
AnimationTimingFunction = 120
animation-timing-function
AspectRatio = 121
aspect-ratio
BackdropFilter = 122
backdrop-filter
BackgroundAttachment = 123
background-attachment
BackgroundBlendMode = 124
background-blend-mode
BackgroundClip = 125
background-clip
BackgroundImage = 126
background-image
BackgroundOrigin = 127
background-origin
BackgroundPositionX = 128
background-position-x
BackgroundPositionY = 129
background-position-y
BackgroundRepeat = 130
background-repeat
BackgroundSize = 131
background-size
BaselineShift = 132
baseline-shift
BorderImageOutset = 133
border-image-outset
BorderImageSlice = 134
border-image-slice
BorderImageWidth = 135
border-image-width
BorderSpacing = 136
border-spacing
BoxShadow = 137
box-shadow
CaretColor = 138
caret-color
Clip = 139
clip
ClipPath = 140
clip-path
Color = 141
color
ColorScheme = 142
color-scheme
ColumnCount = 143
column-count
ColumnWidth = 144
column-width
ContainerName = 145
container-name
Content = 146
content
CounterIncrement = 147
counter-increment
CounterReset = 148
counter-reset
Cursor = 149
cursor
D = 150
d
Filter = 151
filter
FlexBasis = 152
flex-basis
FontFamily = 153
font-family
FontFeatureSettings = 154
font-feature-settings
FontSize = 155
font-size
FontSizeAdjust = 156
font-size-adjust
FontStyle = 157
font-style
FontVariantAlternates = 158
font-variant-alternates
FontVariationSettings = 159
font-variation-settings
FontWeight = 160
font-weight
FontWidth = 161
font-width
GridTemplateAreas = 162
grid-template-areas
HyphenateCharacter = 163
hyphenate-character
InitialLetter = 164
initial-letter
LetterSpacing = 165
letter-spacing
LineClamp = 166
line-clamp
LineHeight = 167
line-height
ListStyleType = 168
list-style-type
MaskClip = 169
mask-clip
MaskComposite = 170
mask-composite
MaskImage = 171
mask-image
MaskMode = 172
mask-mode
MaskOrigin = 173
mask-origin
MaskPositionX = 174
mask-position-x
MaskPositionY = 175
mask-position-y
MaskRepeat = 176
mask-repeat
MaskSize = 177
mask-size
MathDepth = 178
math-depth
MozMinFontSizeRatio = 179
-moz-min-font-size-ratio
OffsetPath = 180
offset-path
Opacity = 181
opacity
OutlineOffset = 182
outline-offset
OverflowClipMargin = 183
overflow-clip-margin
Perspective = 184
perspective
PositionTryFallbacks = 185
position-try-fallbacks
Quotes = 186
quotes
Rotate = 187
rotate
Scale = 188
scale
ScrollbarColor = 189
scrollbar-color
StrokeDasharray = 190
stroke-dasharray
StrokeDashoffset = 191
stroke-dashoffset
StrokeWidth = 192
stroke-width
TabSize = 193
tab-size
TextDecorationInset = 194
text-decoration-inset
TextDecorationThickness = 195
text-decoration-thickness
TextEmphasisStyle = 196
text-emphasis-style
TextIndent = 197
text-indent
TextOverflow = 198
text-overflow
TextShadow = 199
text-shadow
TextUnderlineOffset = 200
text-underline-offset
Transform = 201
transform
TransformOrigin = 202
transform-origin
TransitionBehavior = 203
transition-behavior
TransitionDelay = 204
transition-delay
TransitionDuration = 205
transition-duration
TransitionProperty = 206
transition-property
TransitionTimingFunction = 207
transition-timing-function
Translate = 208
translate
ViewTransitionClass = 209
view-transition-class
ViewTransitionName = 210
view-transition-name
WillChange = 211
will-change
WordSpacing = 212
word-spacing
XLang = 213
-x-lang
ZIndex = 214
z-index
Zoom = 215
zoom
ObjectPosition = 216
object-position
PerspectiveOrigin = 217
perspective-origin
Fill = 218
fill
Stroke = 219
stroke
GridTemplateColumns = 220
grid-template-columns
GridTemplateRows = 221
grid-template-rows
BorderImageSource = 222
border-image-source
ListStyleImage = 223
list-style-image
GridAutoColumns = 224
grid-auto-columns
GridAutoRows = 225
grid-auto-rows
FlexLineCount = 226
flex-line-count
Order = 227
order
Rx = 228
rx
Ry = 229
ry
FillOpacity = 230
fill-opacity
StrokeOpacity = 231
stroke-opacity
ColumnGap = 232
column-gap
RowGap = 233
row-gap
FlexGrow = 234
flex-grow
FlexShrink = 235
flex-shrink
StrokeMiterlimit = 236
stroke-miterlimit
GridColumnEnd = 237
grid-column-end
GridColumnStart = 238
grid-column-start
GridRowEnd = 239
grid-row-end
GridRowStart = 240
grid-row-start
Cx = 241
cx
Cy = 242
cy
X = 243
x
Y = 244
y
MaxBlockSize = 245
max-block-size
MaxHeight = 246
max-height
MaxInlineSize = 247
max-inline-size
MaxWidth = 248
max-width
BorderBottomLeftRadius = 249
border-bottom-left-radius
BorderBottomRightRadius = 250
border-bottom-right-radius
BorderEndEndRadius = 251
border-end-end-radius
BorderEndStartRadius = 252
border-end-start-radius
BorderStartEndRadius = 253
border-start-end-radius
BorderStartStartRadius = 254
border-start-start-radius
BorderTopLeftRadius = 255
border-top-left-radius
BorderTopRightRadius = 256
border-top-right-radius
CornerBottomLeftShape = 257
corner-bottom-left-shape
CornerBottomRightShape = 258
corner-bottom-right-shape
CornerEndEndShape = 259
corner-end-end-shape
CornerEndStartShape = 260
corner-end-start-shape
CornerStartEndShape = 261
corner-start-end-shape
CornerStartStartShape = 262
corner-start-start-shape
CornerTopLeftShape = 263
corner-top-left-shape
CornerTopRightShape = 264
corner-top-right-shape
Bottom = 265
bottom
InsetBlockEnd = 266
inset-block-end
InsetBlockStart = 267
inset-block-start
InsetInlineEnd = 268
inset-inline-end
InsetInlineStart = 269
inset-inline-start
Left = 270
left
Right = 271
right
Top = 272
top
MarginBlockEnd = 273
margin-block-end
MarginBlockStart = 274
margin-block-start
MarginBottom = 275
margin-bottom
MarginInlineEnd = 276
margin-inline-end
MarginInlineStart = 277
margin-inline-start
MarginLeft = 278
margin-left
MarginRight = 279
margin-right
MarginTop = 280
margin-top
BlockSize = 281
block-size
Height = 282
height
InlineSize = 283
inline-size
MinBlockSize = 284
min-block-size
MinHeight = 285
min-height
MinInlineSize = 286
min-inline-size
MinWidth = 287
min-width
Width = 288
width
BorderBlockEndWidth = 289
border-block-end-width
BorderBlockStartWidth = 290
border-block-start-width
BorderBottomWidth = 291
border-bottom-width
BorderInlineEndWidth = 292
border-inline-end-width
BorderInlineStartWidth = 293
border-inline-start-width
BorderLeftWidth = 294
border-left-width
BorderRightWidth = 295
border-right-width
BorderTopWidth = 296
border-top-width
OutlineWidth = 297
outline-width
PaddingBlockEnd = 298
padding-block-end
PaddingBlockStart = 299
padding-block-start
PaddingBottom = 300
padding-bottom
PaddingInlineEnd = 301
padding-inline-end
PaddingInlineStart = 302
padding-inline-start
PaddingLeft = 303
padding-left
PaddingRight = 304
padding-right
PaddingTop = 305
padding-top
R = 306
r
BackgroundColor = 307
background-color
BorderBlockEndColor = 308
border-block-end-color
BorderBlockStartColor = 309
border-block-start-color
BorderBottomColor = 310
border-bottom-color
BorderInlineEndColor = 311
border-inline-end-color
BorderInlineStartColor = 312
border-inline-start-color
BorderLeftColor = 313
border-left-color
BorderRightColor = 314
border-right-color
BorderTopColor = 315
border-top-color
OutlineColor = 316
outline-color
TextDecorationColor = 317
text-decoration-color
TextEmphasisColor = 318
text-emphasis-color
WebkitTextFillColor = 319
-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