pub enum Php {
Show 433 variants
End = 0,
Name = 1,
PhpTag = 2,
PhpEndTag = 3,
TextToken1 = 4,
TextToken2 = 5,
SEMI = 6,
AMP = 7,
Static = 8,
COMMA = 9,
EQ = 10,
Global = 11,
Namespace = 12,
Use = 13,
As = 14,
Function = 15,
Const = 16,
BSLASH = 17,
LBRACE = 18,
RBRACE = 19,
Trait = 20,
Interface = 21,
Extends = 22,
Enum = 23,
COLON = 24,
String2 = 25,
Int = 26,
Case = 27,
Class = 28,
Final = 29,
Abstract = 30,
Readonly = 31,
Implements = 32,
EQGT = 33,
VarModifier = 34,
Insteadof = 35,
Public = 36,
Protected = 37,
Private = 38,
LPAREN = 39,
RPAREN = 40,
LPAREN2 = 41,
RPAREN2 = 42,
Fn = 43,
DOTDOTDOT = 44,
QMARK = 45,
BottomType = 46,
PIPE = 47,
Array = 48,
Bool = 49,
PrimitiveTypeToken1 = 50,
PrimitiveTypeToken2 = 51,
Float2 = 52,
PrimitiveTypeToken3 = 53,
PrimitiveTypeToken4 = 54,
Null2 = 55,
Object = 56,
PrimitiveTypeToken5 = 57,
PrimitiveTypeToken6 = 58,
CastTypeToken1 = 59,
CastTypeToken2 = 60,
CastTypeToken3 = 61,
CastTypeToken4 = 62,
CastTypeToken5 = 63,
CastTypeToken6 = 64,
CastTypeToken7 = 65,
CastTypeToken8 = 66,
CastTypeToken9 = 67,
CastTypeToken10 = 68,
CastTypeToken11 = 69,
CastTypeToken12 = 70,
Echo = 71,
Exit = 72,
Unset = 73,
Declare = 74,
Enddeclare = 75,
Ticks = 76,
Encoding = 77,
StrictTypes = 78,
Float = 79,
Try = 80,
Catch = 81,
Finally = 82,
Goto = 83,
Continue = 84,
Break = 85,
Integer = 86,
Return = 87,
Throw = 88,
While = 89,
Endwhile = 90,
Do = 91,
For = 92,
Endfor = 93,
Foreach = 94,
Endforeach = 95,
If = 96,
Endif = 97,
Elseif = 98,
Else = 99,
Match = 100,
Default = 101,
Switch = 102,
Endswitch = 103,
PLUS = 104,
DASH = 105,
TILDE = 106,
BANG = 107,
AT = 108,
Clone = 109,
COLONCOLON = 110,
Print = 111,
New = 112,
DASHDASH = 113,
PLUSPLUS = 114,
STARSTAREQ = 115,
STAREQ = 116,
SLASHEQ = 117,
PERCENTEQ = 118,
PLUSEQ = 119,
DASHEQ = 120,
DOTEQ = 121,
LTLTEQ = 122,
GTGTEQ = 123,
AMPEQ = 124,
CARETEQ = 125,
PIPEEQ = 126,
QMARKQMARKEQ = 127,
DASHGT = 128,
QMARKDASHGT = 129,
List = 130,
LBRACK = 131,
RBRACK = 132,
Zelf = 133,
Parent = 134,
ArgumentNameToken1 = 135,
ArgumentNameToken2 = 136,
HASHLBRACK = 137,
EscapeSequence = 138,
StringContent = 139,
EncapsedStringToken1 = 140,
DQUOTE = 141,
StringToken1 = 142,
SQUOTE = 143,
EscapeSequence2 = 144,
StringContentToken1 = 145,
LTLTLT = 146,
DQUOTE2 = 147,
NewLine = 148,
SQUOTE2 = 149,
BQUOTE = 150,
DOLLAR = 151,
Yield = 152,
Yieldfrom = 153,
Instanceof = 154,
QMARKQMARK = 155,
STARSTAR = 156,
And = 157,
Or = 158,
Xor = 159,
PIPEPIPE = 160,
AMPAMP = 161,
CARET = 162,
EQEQ = 163,
BANGEQ = 164,
LTGT = 165,
EQEQEQ = 166,
BANGEQEQ = 167,
LT = 168,
GT = 169,
LTEQ = 170,
GTEQ = 171,
LTEQGT = 172,
PIPEGT = 173,
DOT = 174,
LTLT = 175,
GTGT = 176,
STAR = 177,
SLASH = 178,
PERCENT = 179,
Include = 180,
IncludeOnce = 181,
Require = 182,
RequireOnce = 183,
Comment = 184,
AutomaticSemicolon = 185,
StringContent2 = 186,
StringContent3 = 187,
StringContent4 = 188,
StringContent5 = 189,
StringContent6 = 190,
StringContent7 = 191,
Eof = 192,
HeredocStart = 193,
HeredocEnd = 194,
NowdocString = 195,
SentinelError = 196,
Program = 197,
TextInterpolation = 198,
Text = 199,
Statement = 200,
EmptyStatement = 201,
ReferenceModifier = 202,
FunctionStaticDeclaration = 203,
StaticVariableDeclaration = 204,
GlobalDeclaration = 205,
NamespaceDefinition = 206,
NamespaceUseDeclaration = 207,
NamespaceUseClause = 208,
QualifiedName = 209,
RelativeName = 210,
Name2 = 211,
NamespaceName = 212,
NamespaceUseGroup2 = 213,
NamespaceUseGroup = 214,
TraitDeclaration = 215,
InterfaceDeclaration = 216,
BaseClause = 217,
EnumDeclaration = 218,
EnumDeclarationList = 219,
EnumMemberDeclaration = 220,
EnumCase = 221,
ClassDeclaration = 222,
DeclarationList = 223,
FinalModifier = 224,
AbstractModifier = 225,
ReadonlyModifier = 226,
ClassInterfaceClause = 227,
MemberDeclaration = 228,
ConstDeclaration = 229,
ConstDeclaration2 = 230,
PropertyDeclaration = 231,
Modifier = 232,
PropertyElement = 233,
PropertyHookList = 234,
PropertyHook = 235,
PropertyHookBody = 236,
MethodDeclaration = 237,
StaticModifier = 238,
UseDeclaration = 239,
UseList = 240,
UseInsteadOfClause = 241,
UseAsClause = 242,
VisibilityModifier = 243,
FunctionDefinition = 244,
AnonymousFunction = 245,
AnonymousFunctionUseClause = 246,
AnonymousFunctionHeader = 247,
ArrowFunctionHeader = 248,
ArrowFunction = 249,
FormalParameters = 250,
PropertyPromotionParameter = 251,
SimpleParameter = 252,
VariadicParameter = 253,
Type = 254,
Types = 255,
NamedType = 256,
OptionalType = 257,
UnionType = 258,
IntersectionType = 259,
DisjunctiveNormalFormType = 260,
PrimitiveType = 261,
CastType = 262,
ReturnType = 263,
ConstElement = 264,
ConstElement2 = 265,
EchoStatement = 266,
ExitStatement = 267,
UnsetStatement = 268,
DeclareStatement = 269,
DeclareDirective = 270,
Literal = 271,
TryStatement = 272,
CatchClause = 273,
TypeList = 274,
FinallyClause = 275,
GotoStatement = 276,
ContinueStatement = 277,
BreakStatement = 278,
ReturnStatement = 279,
ThrowExpression = 280,
WhileStatement = 281,
DoStatement = 282,
ForStatement = 283,
Expressions = 284,
SequenceExpression = 285,
ForeachStatement = 286,
Pair = 287,
ForeachValue = 288,
IfStatement = 289,
ColonBlock = 290,
ElseIfClause = 291,
ElseClause = 292,
ElseIfClause2 = 293,
ElseClause2 = 294,
MatchExpression = 295,
MatchBlock = 296,
MatchConditionList = 297,
MatchConditionalExpression = 298,
MatchDefaultExpression = 299,
SwitchStatement = 300,
SwitchBlock = 301,
CaseStatement = 302,
DefaultStatement = 303,
CompoundStatement = 304,
NamedLabelStatement = 305,
ExpressionStatement = 306,
Expression = 307,
UnaryExpression = 308,
UnaryOpExpression = 309,
ErrorSuppressionExpression = 310,
CloneExpression = 311,
PrimaryExpression = 312,
ParenthesizedExpression = 313,
ClassConstantAccessExpression = 314,
PrintIntrinsic = 315,
ObjectCreationExpression = 316,
NewNonDereferencableExpression = 317,
NewDereferencableExpression = 318,
ClassNameReference = 319,
AnonymousClass = 320,
UpdateExpression = 321,
CastExpression = 322,
CastExpression2 = 323,
AssignmentExpression = 324,
ReferenceAssignmentExpression = 325,
ConditionalExpression = 326,
AugmentedAssignmentExpression = 327,
MemberAccessExpression = 328,
MemberAccessExpression2 = 329,
NullsafeMemberAccessExpression = 330,
NullsafeMemberAccessExpression2 = 331,
ScopedPropertyAccessExpression = 332,
ScopedPropertyAccessExpression2 = 333,
ListLiteral = 334,
ListDestructing = 335,
ArrayDestructing = 336,
ArrayDestructingElement = 337,
FunctionCallExpression = 338,
CallableExpression = 339,
ScopedCallExpression = 340,
ScopeResolutionQualifier = 341,
RelativeScope = 342,
VariadicPlaceholder = 343,
Arguments = 344,
Argument = 345,
ArgumentName = 346,
MemberCallExpression = 347,
NullsafeMemberCallExpression = 348,
VariadicUnpacking = 349,
MemberName = 350,
SubscriptExpression = 351,
SubscriptExpression2 = 352,
DereferencableExpression = 353,
DereferencableScalar = 354,
ArrayCreationExpression = 355,
AttributeGroup = 356,
AttributeList = 357,
Attribute = 358,
ComplexStringPart = 359,
MemberAccessExpression3 = 360,
UnaryOpExpression2 = 361,
SimpleStringArrayAccessArgument = 362,
SubscriptExpression3 = 363,
SimpleStringPart = 364,
InterpolatedStringBody = 365,
InterpolatedStringBodyHeredoc = 366,
EncapsedString = 367,
String = 368,
StringContent8 = 369,
HeredocBody = 370,
Heredoc = 371,
NowdocBody = 372,
Nowdoc = 373,
InterpolatedExecutionOperatorBody = 374,
ShellCommandExpression = 375,
Boolean = 376,
Null = 377,
String3 = 378,
DynamicVariableName = 379,
SimpleVariable = 380,
NewVariable = 381,
CallableVariable = 382,
VariableName = 383,
ByRef = 384,
YieldExpression = 385,
ArrayElementInitializer = 386,
BinaryExpression = 387,
IncludeExpression = 388,
IncludeOnceExpression = 389,
RequireExpression = 390,
RequireOnceExpression = 391,
Semicolon = 392,
ProgramRepeat1 = 393,
TextRepeat1 = 394,
FunctionStaticDeclarationRepeat1 = 395,
GlobalDeclarationRepeat1 = 396,
NamespaceUseDeclarationRepeat1 = 397,
NamespaceNameRepeat1 = 398,
BaseClauseRepeat1 = 399,
EnumDeclarationListRepeat1 = 400,
ClassDeclarationRepeat1 = 401,
DeclarationListRepeat1 = 402,
ConstDeclarationRepeat1 = 403,
ClassConstDeclarationRepeat1 = 404,
PropertyDeclarationRepeat1 = 405,
PropertyHookListRepeat1 = 406,
UseListRepeat1 = 407,
AnonymousFunctionUseClauseRepeat1 = 408,
FormalParametersRepeat1 = 409,
UnionTypeRepeat1 = 410,
IntersectionTypeRepeat1 = 411,
DisjunctiveNormalFormTypeRepeat1 = 412,
UnsetStatementRepeat1 = 413,
TryStatementRepeat1 = 414,
TypeListRepeat1 = 415,
IfStatementRepeat1 = 416,
IfStatementRepeat2 = 417,
MatchBlockRepeat1 = 418,
MatchConditionListRepeat1 = 419,
SwitchBlockRepeat1 = 420,
ListDestructingRepeat1 = 421,
ArrayDestructingRepeat1 = 422,
ArgumentsRepeat1 = 423,
ArrayCreationExpressionRepeat1 = 424,
AttributeGroupRepeat1 = 425,
AttributeListRepeat1 = 426,
StringRepeat1 = 427,
StringContentRepeat1 = 428,
HeredocBodyRepeat1 = 429,
NowdocBodyRepeat1 = 430,
Operation = 431,
Error = 432,
}Variants§
End = 0
Name = 1
PhpTag = 2
PhpEndTag = 3
TextToken1 = 4
TextToken2 = 5
SEMI = 6
AMP = 7
Static = 8
COMMA = 9
EQ = 10
Global = 11
Namespace = 12
Use = 13
As = 14
Function = 15
Const = 16
BSLASH = 17
LBRACE = 18
RBRACE = 19
Trait = 20
Interface = 21
Extends = 22
Enum = 23
COLON = 24
String2 = 25
Int = 26
Case = 27
Class = 28
Final = 29
Abstract = 30
Readonly = 31
Implements = 32
EQGT = 33
VarModifier = 34
Insteadof = 35
Public = 36
Protected = 37
Private = 38
LPAREN = 39
RPAREN = 40
LPAREN2 = 41
RPAREN2 = 42
Fn = 43
DOTDOTDOT = 44
QMARK = 45
BottomType = 46
PIPE = 47
Array = 48
Bool = 49
PrimitiveTypeToken1 = 50
PrimitiveTypeToken2 = 51
Float2 = 52
PrimitiveTypeToken3 = 53
PrimitiveTypeToken4 = 54
Null2 = 55
Object = 56
PrimitiveTypeToken5 = 57
PrimitiveTypeToken6 = 58
CastTypeToken1 = 59
CastTypeToken2 = 60
CastTypeToken3 = 61
CastTypeToken4 = 62
CastTypeToken5 = 63
CastTypeToken6 = 64
CastTypeToken7 = 65
CastTypeToken8 = 66
CastTypeToken9 = 67
CastTypeToken10 = 68
CastTypeToken11 = 69
CastTypeToken12 = 70
Echo = 71
Exit = 72
Unset = 73
Declare = 74
Enddeclare = 75
Ticks = 76
Encoding = 77
StrictTypes = 78
Float = 79
Try = 80
Catch = 81
Finally = 82
Goto = 83
Continue = 84
Break = 85
Integer = 86
Return = 87
Throw = 88
While = 89
Endwhile = 90
Do = 91
For = 92
Endfor = 93
Foreach = 94
Endforeach = 95
If = 96
Endif = 97
Elseif = 98
Else = 99
Match = 100
Default = 101
Switch = 102
Endswitch = 103
PLUS = 104
DASH = 105
TILDE = 106
BANG = 107
AT = 108
Clone = 109
COLONCOLON = 110
Print = 111
New = 112
DASHDASH = 113
PLUSPLUS = 114
STARSTAREQ = 115
STAREQ = 116
SLASHEQ = 117
PERCENTEQ = 118
PLUSEQ = 119
DASHEQ = 120
DOTEQ = 121
LTLTEQ = 122
GTGTEQ = 123
AMPEQ = 124
CARETEQ = 125
PIPEEQ = 126
QMARKQMARKEQ = 127
DASHGT = 128
QMARKDASHGT = 129
List = 130
LBRACK = 131
RBRACK = 132
Zelf = 133
Parent = 134
ArgumentNameToken1 = 135
ArgumentNameToken2 = 136
HASHLBRACK = 137
EscapeSequence = 138
StringContent = 139
EncapsedStringToken1 = 140
DQUOTE = 141
StringToken1 = 142
SQUOTE = 143
EscapeSequence2 = 144
StringContentToken1 = 145
LTLTLT = 146
DQUOTE2 = 147
NewLine = 148
SQUOTE2 = 149
BQUOTE = 150
DOLLAR = 151
Yield = 152
Yieldfrom = 153
Instanceof = 154
QMARKQMARK = 155
STARSTAR = 156
And = 157
Or = 158
Xor = 159
PIPEPIPE = 160
AMPAMP = 161
CARET = 162
EQEQ = 163
BANGEQ = 164
LTGT = 165
EQEQEQ = 166
BANGEQEQ = 167
LT = 168
GT = 169
LTEQ = 170
GTEQ = 171
LTEQGT = 172
PIPEGT = 173
DOT = 174
LTLT = 175
GTGT = 176
STAR = 177
SLASH = 178
PERCENT = 179
Include = 180
IncludeOnce = 181
Require = 182
RequireOnce = 183
Comment = 184
AutomaticSemicolon = 185
StringContent2 = 186
StringContent3 = 187
StringContent4 = 188
StringContent5 = 189
StringContent6 = 190
StringContent7 = 191
Eof = 192
HeredocStart = 193
HeredocEnd = 194
NowdocString = 195
SentinelError = 196
Program = 197
TextInterpolation = 198
Text = 199
Statement = 200
EmptyStatement = 201
ReferenceModifier = 202
FunctionStaticDeclaration = 203
StaticVariableDeclaration = 204
GlobalDeclaration = 205
NamespaceDefinition = 206
NamespaceUseDeclaration = 207
NamespaceUseClause = 208
QualifiedName = 209
RelativeName = 210
Name2 = 211
NamespaceName = 212
NamespaceUseGroup2 = 213
NamespaceUseGroup = 214
TraitDeclaration = 215
InterfaceDeclaration = 216
BaseClause = 217
EnumDeclaration = 218
EnumDeclarationList = 219
EnumMemberDeclaration = 220
EnumCase = 221
ClassDeclaration = 222
DeclarationList = 223
FinalModifier = 224
AbstractModifier = 225
ReadonlyModifier = 226
ClassInterfaceClause = 227
MemberDeclaration = 228
ConstDeclaration = 229
ConstDeclaration2 = 230
PropertyDeclaration = 231
Modifier = 232
PropertyElement = 233
PropertyHookList = 234
PropertyHook = 235
PropertyHookBody = 236
MethodDeclaration = 237
StaticModifier = 238
UseDeclaration = 239
UseList = 240
UseInsteadOfClause = 241
UseAsClause = 242
VisibilityModifier = 243
FunctionDefinition = 244
AnonymousFunction = 245
AnonymousFunctionUseClause = 246
AnonymousFunctionHeader = 247
ArrowFunctionHeader = 248
ArrowFunction = 249
FormalParameters = 250
PropertyPromotionParameter = 251
SimpleParameter = 252
VariadicParameter = 253
Type = 254
Types = 255
NamedType = 256
OptionalType = 257
UnionType = 258
IntersectionType = 259
DisjunctiveNormalFormType = 260
PrimitiveType = 261
CastType = 262
ReturnType = 263
ConstElement = 264
ConstElement2 = 265
EchoStatement = 266
ExitStatement = 267
UnsetStatement = 268
DeclareStatement = 269
DeclareDirective = 270
Literal = 271
TryStatement = 272
CatchClause = 273
TypeList = 274
FinallyClause = 275
GotoStatement = 276
ContinueStatement = 277
BreakStatement = 278
ReturnStatement = 279
ThrowExpression = 280
WhileStatement = 281
DoStatement = 282
ForStatement = 283
Expressions = 284
SequenceExpression = 285
ForeachStatement = 286
Pair = 287
ForeachValue = 288
IfStatement = 289
ColonBlock = 290
ElseIfClause = 291
ElseClause = 292
ElseIfClause2 = 293
ElseClause2 = 294
MatchExpression = 295
MatchBlock = 296
MatchConditionList = 297
MatchConditionalExpression = 298
MatchDefaultExpression = 299
SwitchStatement = 300
SwitchBlock = 301
CaseStatement = 302
DefaultStatement = 303
CompoundStatement = 304
NamedLabelStatement = 305
ExpressionStatement = 306
Expression = 307
UnaryExpression = 308
UnaryOpExpression = 309
ErrorSuppressionExpression = 310
CloneExpression = 311
PrimaryExpression = 312
ParenthesizedExpression = 313
ClassConstantAccessExpression = 314
PrintIntrinsic = 315
ObjectCreationExpression = 316
NewNonDereferencableExpression = 317
NewDereferencableExpression = 318
ClassNameReference = 319
AnonymousClass = 320
UpdateExpression = 321
CastExpression = 322
CastExpression2 = 323
AssignmentExpression = 324
ReferenceAssignmentExpression = 325
ConditionalExpression = 326
AugmentedAssignmentExpression = 327
MemberAccessExpression = 328
MemberAccessExpression2 = 329
NullsafeMemberAccessExpression = 330
NullsafeMemberAccessExpression2 = 331
ScopedPropertyAccessExpression = 332
ScopedPropertyAccessExpression2 = 333
ListLiteral = 334
ListDestructing = 335
ArrayDestructing = 336
ArrayDestructingElement = 337
FunctionCallExpression = 338
CallableExpression = 339
ScopedCallExpression = 340
ScopeResolutionQualifier = 341
RelativeScope = 342
VariadicPlaceholder = 343
Arguments = 344
Argument = 345
ArgumentName = 346
MemberCallExpression = 347
NullsafeMemberCallExpression = 348
VariadicUnpacking = 349
MemberName = 350
SubscriptExpression = 351
SubscriptExpression2 = 352
DereferencableExpression = 353
DereferencableScalar = 354
ArrayCreationExpression = 355
AttributeGroup = 356
AttributeList = 357
Attribute = 358
ComplexStringPart = 359
MemberAccessExpression3 = 360
UnaryOpExpression2 = 361
SimpleStringArrayAccessArgument = 362
SubscriptExpression3 = 363
SimpleStringPart = 364
InterpolatedStringBody = 365
InterpolatedStringBodyHeredoc = 366
EncapsedString = 367
String = 368
StringContent8 = 369
HeredocBody = 370
Heredoc = 371
NowdocBody = 372
Nowdoc = 373
InterpolatedExecutionOperatorBody = 374
ShellCommandExpression = 375
Boolean = 376
Null = 377
String3 = 378
DynamicVariableName = 379
SimpleVariable = 380
NewVariable = 381
CallableVariable = 382
VariableName = 383
ByRef = 384
YieldExpression = 385
ArrayElementInitializer = 386
BinaryExpression = 387
IncludeExpression = 388
IncludeOnceExpression = 389
RequireExpression = 390
RequireOnceExpression = 391
Semicolon = 392
ProgramRepeat1 = 393
TextRepeat1 = 394
FunctionStaticDeclarationRepeat1 = 395
GlobalDeclarationRepeat1 = 396
NamespaceUseDeclarationRepeat1 = 397
NamespaceNameRepeat1 = 398
BaseClauseRepeat1 = 399
EnumDeclarationListRepeat1 = 400
ClassDeclarationRepeat1 = 401
DeclarationListRepeat1 = 402
ConstDeclarationRepeat1 = 403
ClassConstDeclarationRepeat1 = 404
PropertyDeclarationRepeat1 = 405
PropertyHookListRepeat1 = 406
UseListRepeat1 = 407
AnonymousFunctionUseClauseRepeat1 = 408
FormalParametersRepeat1 = 409
UnionTypeRepeat1 = 410
IntersectionTypeRepeat1 = 411
DisjunctiveNormalFormTypeRepeat1 = 412
UnsetStatementRepeat1 = 413
TryStatementRepeat1 = 414
TypeListRepeat1 = 415
IfStatementRepeat1 = 416
IfStatementRepeat2 = 417
MatchBlockRepeat1 = 418
MatchConditionListRepeat1 = 419
SwitchBlockRepeat1 = 420
ListDestructingRepeat1 = 421
ArrayDestructingRepeat1 = 422
ArgumentsRepeat1 = 423
ArrayCreationExpressionRepeat1 = 424
AttributeGroupRepeat1 = 425
AttributeListRepeat1 = 426
StringRepeat1 = 427
StringContentRepeat1 = 428
HeredocBodyRepeat1 = 429
NowdocBodyRepeat1 = 430
Operation = 431
Error = 432
Trait Implementations§
impl Eq for Php
Source§impl FromPrimitive for Php
impl FromPrimitive for Php
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreimpl StructuralPartialEq for Php
Auto Trait Implementations§
impl Freeze for Php
impl RefUnwindSafe for Php
impl Send for Php
impl Sync for Php
impl Unpin for Php
impl UnsafeUnpin for Php
impl UnwindSafe for Php
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
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§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.