pub enum Php {
Show 435 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,
ArgumentPlaceholder = 344,
Arguments = 345,
Argument = 346,
ArgumentName = 347,
MemberCallExpression = 348,
NullsafeMemberCallExpression = 349,
VariadicUnpacking = 350,
MemberName = 351,
SubscriptExpression = 352,
SubscriptExpression2 = 353,
DereferencableExpression = 354,
DereferencableScalar = 355,
ArrayCreationExpression = 356,
AttributeGroup = 357,
AttributeList = 358,
Attribute = 359,
ComplexStringPart = 360,
MemberAccessExpression3 = 361,
UnaryOpExpression2 = 362,
SimpleStringArrayAccessArgument = 363,
SubscriptExpression3 = 364,
SimpleStringPart = 365,
InterpolatedStringBody = 366,
InterpolatedStringBodyHeredoc = 367,
EncapsedString = 368,
String = 369,
StringContent8 = 370,
HeredocBody = 371,
Heredoc = 372,
NowdocBody = 373,
Nowdoc = 374,
InterpolatedExecutionOperatorBody = 375,
ShellCommandExpression = 376,
Boolean = 377,
Null = 378,
String3 = 379,
DynamicVariableName = 380,
SimpleVariable = 381,
NewVariable = 382,
CallableVariable = 383,
VariableName = 384,
ByRef = 385,
YieldExpression = 386,
ArrayElementInitializer = 387,
BinaryExpression = 388,
IncludeExpression = 389,
IncludeOnceExpression = 390,
RequireExpression = 391,
RequireOnceExpression = 392,
Semicolon = 393,
ProgramRepeat1 = 394,
TextRepeat1 = 395,
FunctionStaticDeclarationRepeat1 = 396,
GlobalDeclarationRepeat1 = 397,
NamespaceUseDeclarationRepeat1 = 398,
NamespaceNameRepeat1 = 399,
BaseClauseRepeat1 = 400,
EnumDeclarationListRepeat1 = 401,
ClassDeclarationRepeat1 = 402,
DeclarationListRepeat1 = 403,
ConstDeclarationRepeat1 = 404,
ClassConstDeclarationRepeat1 = 405,
PropertyDeclarationRepeat1 = 406,
PropertyHookListRepeat1 = 407,
UseListRepeat1 = 408,
AnonymousFunctionUseClauseRepeat1 = 409,
FormalParametersRepeat1 = 410,
PropertyPromotionParameterRepeat1 = 411,
UnionTypeRepeat1 = 412,
IntersectionTypeRepeat1 = 413,
DisjunctiveNormalFormTypeRepeat1 = 414,
UnsetStatementRepeat1 = 415,
TryStatementRepeat1 = 416,
TypeListRepeat1 = 417,
IfStatementRepeat1 = 418,
IfStatementRepeat2 = 419,
MatchBlockRepeat1 = 420,
MatchConditionListRepeat1 = 421,
SwitchBlockRepeat1 = 422,
ListDestructingRepeat1 = 423,
ArrayDestructingRepeat1 = 424,
ArgumentsRepeat1 = 425,
ArrayCreationExpressionRepeat1 = 426,
AttributeGroupRepeat1 = 427,
AttributeListRepeat1 = 428,
StringRepeat1 = 429,
StringContentRepeat1 = 430,
HeredocBodyRepeat1 = 431,
NowdocBodyRepeat1 = 432,
Operation = 433,
Error = 434,
}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
ArgumentPlaceholder = 344
Arguments = 345
Argument = 346
ArgumentName = 347
MemberCallExpression = 348
NullsafeMemberCallExpression = 349
VariadicUnpacking = 350
MemberName = 351
SubscriptExpression = 352
SubscriptExpression2 = 353
DereferencableExpression = 354
DereferencableScalar = 355
ArrayCreationExpression = 356
AttributeGroup = 357
AttributeList = 358
Attribute = 359
ComplexStringPart = 360
MemberAccessExpression3 = 361
UnaryOpExpression2 = 362
SimpleStringArrayAccessArgument = 363
SubscriptExpression3 = 364
SimpleStringPart = 365
InterpolatedStringBody = 366
InterpolatedStringBodyHeredoc = 367
EncapsedString = 368
String = 369
StringContent8 = 370
HeredocBody = 371
Heredoc = 372
NowdocBody = 373
Nowdoc = 374
InterpolatedExecutionOperatorBody = 375
ShellCommandExpression = 376
Boolean = 377
Null = 378
String3 = 379
DynamicVariableName = 380
SimpleVariable = 381
NewVariable = 382
CallableVariable = 383
VariableName = 384
ByRef = 385
YieldExpression = 386
ArrayElementInitializer = 387
BinaryExpression = 388
IncludeExpression = 389
IncludeOnceExpression = 390
RequireExpression = 391
RequireOnceExpression = 392
Semicolon = 393
ProgramRepeat1 = 394
TextRepeat1 = 395
FunctionStaticDeclarationRepeat1 = 396
GlobalDeclarationRepeat1 = 397
NamespaceUseDeclarationRepeat1 = 398
NamespaceNameRepeat1 = 399
BaseClauseRepeat1 = 400
EnumDeclarationListRepeat1 = 401
ClassDeclarationRepeat1 = 402
DeclarationListRepeat1 = 403
ConstDeclarationRepeat1 = 404
ClassConstDeclarationRepeat1 = 405
PropertyDeclarationRepeat1 = 406
PropertyHookListRepeat1 = 407
UseListRepeat1 = 408
AnonymousFunctionUseClauseRepeat1 = 409
FormalParametersRepeat1 = 410
PropertyPromotionParameterRepeat1 = 411
UnionTypeRepeat1 = 412
IntersectionTypeRepeat1 = 413
DisjunctiveNormalFormTypeRepeat1 = 414
UnsetStatementRepeat1 = 415
TryStatementRepeat1 = 416
TypeListRepeat1 = 417
IfStatementRepeat1 = 418
IfStatementRepeat2 = 419
MatchBlockRepeat1 = 420
MatchConditionListRepeat1 = 421
SwitchBlockRepeat1 = 422
ListDestructingRepeat1 = 423
ArrayDestructingRepeat1 = 424
ArgumentsRepeat1 = 425
ArrayCreationExpressionRepeat1 = 426
AttributeGroupRepeat1 = 427
AttributeListRepeat1 = 428
StringRepeat1 = 429
StringContentRepeat1 = 430
HeredocBodyRepeat1 = 431
NowdocBodyRepeat1 = 432
Operation = 433
Error = 434
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.