Skip to main content

Perl

pub enum Perl {
Show 397 variants End = 0, Identifier = 1, LTLT = 2, PodStatementToken1 = 3, FILE = 4, LINE = 5, PACKAGE = 6, SUB = 7, END = 8, DATA = 9, Use = 10, Parent = 11, COMMA = 12, LPAREN = 13, RPAREN = 14, Constant = 15, Sub = 16, BEGIN = 17, UNITCHECK = 18, CHECK = 19, INIT = 20, END2 = 21, Package = 22, DOTDOTDOT = 23, No = 24, Feature = 25, If = 26, DASHGT = 27, Import = 28, Subs = 29, Require = 30, Unless = 31, While = 32, Until = 33, For = 34, Foreach = 35, When = 36, Elsif = 37, Else = 38, Continue2 = 39, BSLASH = 40, Our = 41, State = 42, My = 43, Local = 44, COLON = 45, Prototype2 = 46, LBRACE = 47, RBRACE = 48, Prototype = 49, Return = 50, COLONCOLON = 51, COLONCOLON2 = 52, Bless2 = 53, Goto = 54, QMARK = 55, PLUSPLUS = 56, DASHDASH = 57, STARSTAR = 58, BANG = 59, TILDE = 60, PLUS = 61, DASH = 62, EQTILDE = 63, BANGTILDE = 64, STAR = 65, Bodmas1Token1 = 66, Bodmas1Token2 = 67, Bodmas1Token3 = 68, Bodmas1Token4 = 69, DOT = 70, GTGT = 71, LT = 72, GT = 73, LTEQ = 74, GTEQ = 75, Lt = 76, Gt = 77, Le = 78, Ge = 79, EQEQ = 80, BANGEQ = 81, Eq = 82, Ne = 83, LTEQGT = 84, Cmp = 85, TILDETILDE = 86, Isa = 87, BitwiseAndExpToken1 = 88, PIPE = 89, CARET = 90, AMPAMP = 91, PIPEPIPE = 92, SLASHSLASH = 93, DOTDOT = 94, EQ = 95, STARSTAREQ = 96, PLUSEQ = 97, STAREQ = 98, AMPEQ = 99, AMPDOTEQ = 100, LTLTEQ = 101, AMPAMPEQ = 102, DASHEQ = 103, SLASHEQ = 104, PIPEEQ = 105, PIPEDOTEQ = 106, GTGTEQ = 107, PIPEPIPEEQ = 108, DOTEQ = 109, PERCENTEQ = 110, CARETEQ = 111, CARETDOTEQ = 112, SLASHSLASHEQ = 113, XEQ = 114, Not = 115, And = 116, Or = 117, Xor = 118, FileHandleOperatorToken1 = 119, StandardInputToken1 = 120, StandardInputToken2 = 121, StandardInputToken3 = 122, StandardInputToken4 = 123, FileHandle = 124, GT2 = 125, Method = 126, Func = 127, Integer = 128, FloatingPoint = 129, ScientificNotation = 130, Hexadecimal = 131, Octal = 132, VersionToken1 = 133, VersionToken2 = 134, VersionToken3 = 135, Next = 136, Last = 137, Redo = 138, SQUOTE = 139, ModuleNameToken1 = 140, DQUOTE = 141, SEMI = 142, Q = 143, Qq = 144, Qx = 145, BQUOTE = 146, BacktickQuotedToken1 = 147, Qw = 148, M = 149, SLASH = 150, Qr = 151, S = 152, Tr = 153, Y = 154, LBRACK = 155, RegexPatternContentToken1 = 156, RegexPatternContentToken2 = 157, RBRACK = 158, RegexPatternContentToken3 = 159, HASH = 160, RegexOption = 161, RegexOptionForSubstitution = 162, RegexOptionForTransliteration = 163, EscapeSequenceToken1 = 164, DASHGTLBRACK = 165, LBRACK2 = 166, True = 167, False = 168, DOLLAR = 169, SpecialScalarVariableToken1 = 170, ArrayVariableToken1 = 171, ArrayVariableToken2 = 172, ArrayVariableToken3 = 173, HashVariableToken1 = 174, HashVariableToken2 = 175, HashVariableToken3 = 176, DOLLARHASH = 177, AT = 178, PERCENT = 179, FatComma = 180, Super = 181, NoRequire = 182, CommentsToken1 = 183, ScalarVariableExternal = 184, StartDelimiter = 185, EndDelimiter = 186, StringContent = 187, StringSingleQuotedContent = 188, StringSingleQQuotedContent = 189, StringQqQuotedContent = 190, StringDoubleQuotedContent = 191, StartDelimiterQw = 192, ListItem = 193, EndDelimiterQw = 194, StartDelimiter2 = 195, StartDelimiterSlash = 196, RegexPattern = 197, EndDelimiter2 = 198, StartDelimiter3 = 199, SearchReplaceContent = 200, SeparatorDelimiter = 201, EndDelimiter3 = 202, StartDelimiter4 = 203, TransliterationContent = 204, SeparatorDelimiter2 = 205, EndDelimiter4 = 206, ImaginaryHeredocStart = 207, HeredocStartIdentifier = 208, HeredocContent = 209, HeredocEndIdentifier = 210, PodContent = 211, DataNotForCompiler = 212, AutomaticSemicolon = 213, SourceFile = 214, Statement = 215, HeredocInitializer = 216, HeredocOperator = 217, HeredocBodyStatement = 218, PodStatement = 219, SpecialLiteral = 220, UseParentStatement = 221, UseConstantStatement = 222, SpecialBlock = 223, PackageStatement = 224, EllipsisStatement = 225, UseNoVersion = 226, UseNoFeatureStatement = 227, ExpressionOrReturnExpression = 228, SingleLineStatement = 229, StatementModifiers = 230, CompoundStatement = 231, ExpressionStatement = 232, UseNoStatement = 233, UseNoIfStatement = 234, BarewordImport = 235, UseNoSubsStatement = 236, RequireStatement = 237, IfSimpleStatement = 238, IfSimple = 239, UnlessSimpleStatement = 240, WhileSimpleStatement = 241, UntilSimpleStatement = 242, ForSimpleStatement = 243, WhenSimpleStatement = 244, IfStatement = 245, UnlessStatement = 246, ElsifClause = 247, ElseClause = 248, WhileStatement = 249, Continue = 250, UntilStatement = 251, ForStatement1 = 252, ForStatement2 = 253, ForParenthesize = 254, Declaration = 255, VariableDeclaration = 256, VariableDec = 257, Scope = 258, FunctionOptions = 259, FunctionDefinition = 260, FunctionDefinitionWithoutSub = 261, AnonymousFunction = 262, Block = 263, FunctionSignature2 = 264, FunctionPrototype = 265, FunctionAttribute = 266, StandaloneBlock = 267, Label = 268, BlockStatements = 269, LoopControlStatement = 270, ReturnExpression = 271, ExpressionWithoutLValue = 272, ExpressionWithoutBareword = 273, Expression = 274, PackageVariable = 275, Bless = 276, GotoExpression = 277, BinaryExpression = 278, UnaryExpression = 279, TernaryExpression = 280, AutoIncrementDecrement = 281, Exponentiation = 282, SymbolicUnary = 283, BindingExpression = 284, Bodmas1 = 285, Bodmas2 = 286, ShiftExpression = 287, RelationalExpression = 288, EqualityExpression = 289, ClassInstanceExp = 290, BitwiseAndExp = 291, BitwiseOrXorExp = 292, LogicalAndExp = 293, LogicalOrsExp = 294, RangeExp = 295, AssignmentExp = 296, UnaryNot = 297, UnaryAnd = 298, LogicalVerbalOrXor = 299, FileHandleOperator = 300, IOOperator = 301, StandardInput = 302, StandardInputToIdentifier = 303, StandardInputToVariable = 304, CallExpressionWithSpacedArgs = 305, CallExpressionWithSub = 306, CallExpressionWithArgsWithBrackets = 307, CallExpressionWithVariable = 308, CallExpressionWithBareword = 309, AndBeforeSub = 310, MethodInvocation = 311, ArgumentChoice = 312, ParenthesizedArgument = 313, Arguments = 314, CallExpressionRecursive = 315, PrimitiveExpression = 316, Variables = 317, AccessVariables = 318, ScalarType = 319, String = 320, InterpolatableString = 321, ResolvesToDigit = 322, ArrayType = 323, NumericLiterals = 324, Version = 325, LoopControlKeyword = 326, PackageName = 327, ModuleName = 328, StringSingleQuoted = 329, StringQQuoted = 330, StringDoubleQuoted = 331, StringQqQuoted = 332, CommandQxQuoted = 333, BacktickQuoted = 334, WordListQw = 335, PatternMatcherM = 336, PatternMatcher = 337, RegexPatternQr = 338, SubstitutionPatternS = 339, TransliterationTrOrY = 340, RegexPatternContent = 341, EscapeSequence = 342, Interpolation = 343, HashAccessInInterpolation = 344, ArrayAccessInInterpolation = 345, Boolean = 346, SpecialScalarVariable = 347, ScalarVariable = 348, Typeglob = 349, ArrayAccessVariable = 350, HashAccessVariableSimple = 351, HashAccessVariable = 352, ArrayVariable = 353, HashVariable = 354, List = 355, Array = 356, ArrayRef = 357, HashRef = 358, Reference = 359, ToReference = 360, Dereference = 361, ScalarDereference = 362, LengthExpression = 363, ArrayDereference = 364, HashDereference = 365, KeywordsInHashKey = 366, ArrowOperator = 367, CommaOperator = 368, NormalComma = 369, Comments = 370, SourceFileRepeat1 = 371, HeredocBodyStatementRepeat1 = 372, UseParentStatementRepeat1 = 373, ExpressionStatementRepeat1 = 374, IfStatementRepeat1 = 375, BlockRepeat1 = 376, FunctionAttributeRepeat1 = 377, PackageVariableRepeat1 = 378, RelationalExpressionRepeat1 = 379, EqualityExpressionRepeat1 = 380, PackageNameRepeat1 = 381, StringSingleQuotedRepeat1 = 382, StringQQuotedRepeat1 = 383, StringDoubleQuotedRepeat1 = 384, StringQqQuotedRepeat1 = 385, BacktickQuotedRepeat1 = 386, WordListQwRepeat1 = 387, PatternMatcherMRepeat1 = 388, SubstitutionPatternSRepeat1 = 389, TransliterationTrOrYRepeat1 = 390, RegexPatternContentRepeat1 = 391, RegexPatternContentRepeat2 = 392, HashAccessInInterpolationRepeat1 = 393, ArrayAccessInInterpolationRepeat1 = 394, FunctionSignature = 395, Error = 396,
}

Variants§

§

End = 0

§

Identifier = 1

§

LTLT = 2

§

PodStatementToken1 = 3

§

FILE = 4

§

LINE = 5

§

PACKAGE = 6

§

SUB = 7

§

END = 8

§

DATA = 9

§

Use = 10

§

Parent = 11

§

COMMA = 12

§

LPAREN = 13

§

RPAREN = 14

§

Constant = 15

§

Sub = 16

§

BEGIN = 17

§

UNITCHECK = 18

§

CHECK = 19

§

INIT = 20

§

END2 = 21

§

Package = 22

§

DOTDOTDOT = 23

§

No = 24

§

Feature = 25

§

If = 26

§

DASHGT = 27

§

Import = 28

§

Subs = 29

§

Require = 30

§

Unless = 31

§

While = 32

§

Until = 33

§

For = 34

§

Foreach = 35

§

When = 36

§

Elsif = 37

§

Else = 38

§

Continue2 = 39

§

BSLASH = 40

§

Our = 41

§

State = 42

§

My = 43

§

Local = 44

§

COLON = 45

§

Prototype2 = 46

§

LBRACE = 47

§

RBRACE = 48

§

Prototype = 49

§

Return = 50

§

COLONCOLON = 51

§

COLONCOLON2 = 52

§

Bless2 = 53

§

Goto = 54

§

QMARK = 55

§

PLUSPLUS = 56

§

DASHDASH = 57

§

STARSTAR = 58

§

BANG = 59

§

TILDE = 60

§

PLUS = 61

§

DASH = 62

§

EQTILDE = 63

§

BANGTILDE = 64

§

STAR = 65

§

Bodmas1Token1 = 66

§

Bodmas1Token2 = 67

§

Bodmas1Token3 = 68

§

Bodmas1Token4 = 69

§

DOT = 70

§

GTGT = 71

§

LT = 72

§

GT = 73

§

LTEQ = 74

§

GTEQ = 75

§

Lt = 76

§

Gt = 77

§

Le = 78

§

Ge = 79

§

EQEQ = 80

§

BANGEQ = 81

§

Eq = 82

§

Ne = 83

§

LTEQGT = 84

§

Cmp = 85

§

TILDETILDE = 86

§

Isa = 87

§

BitwiseAndExpToken1 = 88

§

PIPE = 89

§

CARET = 90

§

AMPAMP = 91

§

PIPEPIPE = 92

§

SLASHSLASH = 93

§

DOTDOT = 94

§

EQ = 95

§

STARSTAREQ = 96

§

PLUSEQ = 97

§

STAREQ = 98

§

AMPEQ = 99

§

AMPDOTEQ = 100

§

LTLTEQ = 101

§

AMPAMPEQ = 102

§

DASHEQ = 103

§

SLASHEQ = 104

§

PIPEEQ = 105

§

PIPEDOTEQ = 106

§

GTGTEQ = 107

§

PIPEPIPEEQ = 108

§

DOTEQ = 109

§

PERCENTEQ = 110

§

CARETEQ = 111

§

CARETDOTEQ = 112

§

SLASHSLASHEQ = 113

§

XEQ = 114

§

Not = 115

§

And = 116

§

Or = 117

§

Xor = 118

§

FileHandleOperatorToken1 = 119

§

StandardInputToken1 = 120

§

StandardInputToken2 = 121

§

StandardInputToken3 = 122

§

StandardInputToken4 = 123

§

FileHandle = 124

§

GT2 = 125

§

Method = 126

§

Func = 127

§

Integer = 128

§

FloatingPoint = 129

§

ScientificNotation = 130

§

Hexadecimal = 131

§

Octal = 132

§

VersionToken1 = 133

§

VersionToken2 = 134

§

VersionToken3 = 135

§

Next = 136

§

Last = 137

§

Redo = 138

§

SQUOTE = 139

§

ModuleNameToken1 = 140

§

DQUOTE = 141

§

SEMI = 142

§

Q = 143

§

Qq = 144

§

Qx = 145

§

BQUOTE = 146

§

BacktickQuotedToken1 = 147

§

Qw = 148

§

M = 149

§

SLASH = 150

§

Qr = 151

§

S = 152

§

Tr = 153

§

Y = 154

§

LBRACK = 155

§

RegexPatternContentToken1 = 156

§

RegexPatternContentToken2 = 157

§

RBRACK = 158

§

RegexPatternContentToken3 = 159

§

HASH = 160

§

RegexOption = 161

§

RegexOptionForSubstitution = 162

§

RegexOptionForTransliteration = 163

§

EscapeSequenceToken1 = 164

§

DASHGTLBRACK = 165

§

LBRACK2 = 166

§

True = 167

§

False = 168

§

DOLLAR = 169

§

SpecialScalarVariableToken1 = 170

§

ArrayVariableToken1 = 171

§

ArrayVariableToken2 = 172

§

ArrayVariableToken3 = 173

§

HashVariableToken1 = 174

§

HashVariableToken2 = 175

§

HashVariableToken3 = 176

§

DOLLARHASH = 177

§

AT = 178

§

PERCENT = 179

§

FatComma = 180

§

Super = 181

§

NoRequire = 182

§

CommentsToken1 = 183

§

ScalarVariableExternal = 184

§

StartDelimiter = 185

§

EndDelimiter = 186

§

StringContent = 187

§

StringSingleQuotedContent = 188

§

StringSingleQQuotedContent = 189

§

StringQqQuotedContent = 190

§

StringDoubleQuotedContent = 191

§

StartDelimiterQw = 192

§

ListItem = 193

§

EndDelimiterQw = 194

§

StartDelimiter2 = 195

§

StartDelimiterSlash = 196

§

RegexPattern = 197

§

EndDelimiter2 = 198

§

StartDelimiter3 = 199

§

SearchReplaceContent = 200

§

SeparatorDelimiter = 201

§

EndDelimiter3 = 202

§

StartDelimiter4 = 203

§

TransliterationContent = 204

§

SeparatorDelimiter2 = 205

§

EndDelimiter4 = 206

§

ImaginaryHeredocStart = 207

§

HeredocStartIdentifier = 208

§

HeredocContent = 209

§

HeredocEndIdentifier = 210

§

PodContent = 211

§

DataNotForCompiler = 212

§

AutomaticSemicolon = 213

§

SourceFile = 214

§

Statement = 215

§

HeredocInitializer = 216

§

HeredocOperator = 217

§

HeredocBodyStatement = 218

§

PodStatement = 219

§

SpecialLiteral = 220

§

UseParentStatement = 221

§

UseConstantStatement = 222

§

SpecialBlock = 223

§

PackageStatement = 224

§

EllipsisStatement = 225

§

UseNoVersion = 226

§

UseNoFeatureStatement = 227

§

ExpressionOrReturnExpression = 228

§

SingleLineStatement = 229

§

StatementModifiers = 230

§

CompoundStatement = 231

§

ExpressionStatement = 232

§

UseNoStatement = 233

§

UseNoIfStatement = 234

§

BarewordImport = 235

§

UseNoSubsStatement = 236

§

RequireStatement = 237

§

IfSimpleStatement = 238

§

IfSimple = 239

§

UnlessSimpleStatement = 240

§

WhileSimpleStatement = 241

§

UntilSimpleStatement = 242

§

ForSimpleStatement = 243

§

WhenSimpleStatement = 244

§

IfStatement = 245

§

UnlessStatement = 246

§

ElsifClause = 247

§

ElseClause = 248

§

WhileStatement = 249

§

Continue = 250

§

UntilStatement = 251

§

ForStatement1 = 252

§

ForStatement2 = 253

§

ForParenthesize = 254

§

Declaration = 255

§

VariableDeclaration = 256

§

VariableDec = 257

§

Scope = 258

§

FunctionOptions = 259

§

FunctionDefinition = 260

§

FunctionDefinitionWithoutSub = 261

§

AnonymousFunction = 262

§

Block = 263

§

FunctionSignature2 = 264

§

FunctionPrototype = 265

§

FunctionAttribute = 266

§

StandaloneBlock = 267

§

Label = 268

§

BlockStatements = 269

§

LoopControlStatement = 270

§

ReturnExpression = 271

§

ExpressionWithoutLValue = 272

§

ExpressionWithoutBareword = 273

§

Expression = 274

§

PackageVariable = 275

§

Bless = 276

§

GotoExpression = 277

§

BinaryExpression = 278

§

UnaryExpression = 279

§

TernaryExpression = 280

§

AutoIncrementDecrement = 281

§

Exponentiation = 282

§

SymbolicUnary = 283

§

BindingExpression = 284

§

Bodmas1 = 285

§

Bodmas2 = 286

§

ShiftExpression = 287

§

RelationalExpression = 288

§

EqualityExpression = 289

§

ClassInstanceExp = 290

§

BitwiseAndExp = 291

§

BitwiseOrXorExp = 292

§

LogicalAndExp = 293

§

LogicalOrsExp = 294

§

RangeExp = 295

§

AssignmentExp = 296

§

UnaryNot = 297

§

UnaryAnd = 298

§

LogicalVerbalOrXor = 299

§

FileHandleOperator = 300

§

IOOperator = 301

§

StandardInput = 302

§

StandardInputToIdentifier = 303

§

StandardInputToVariable = 304

§

CallExpressionWithSpacedArgs = 305

§

CallExpressionWithSub = 306

§

CallExpressionWithArgsWithBrackets = 307

§

CallExpressionWithVariable = 308

§

CallExpressionWithBareword = 309

§

AndBeforeSub = 310

§

MethodInvocation = 311

§

ArgumentChoice = 312

§

ParenthesizedArgument = 313

§

Arguments = 314

§

CallExpressionRecursive = 315

§

PrimitiveExpression = 316

§

Variables = 317

§

AccessVariables = 318

§

ScalarType = 319

§

String = 320

§

InterpolatableString = 321

§

ResolvesToDigit = 322

§

ArrayType = 323

§

NumericLiterals = 324

§

Version = 325

§

LoopControlKeyword = 326

§

PackageName = 327

§

ModuleName = 328

§

StringSingleQuoted = 329

§

StringQQuoted = 330

§

StringDoubleQuoted = 331

§

StringQqQuoted = 332

§

CommandQxQuoted = 333

§

BacktickQuoted = 334

§

WordListQw = 335

§

PatternMatcherM = 336

§

PatternMatcher = 337

§

RegexPatternQr = 338

§

SubstitutionPatternS = 339

§

TransliterationTrOrY = 340

§

RegexPatternContent = 341

§

EscapeSequence = 342

§

Interpolation = 343

§

HashAccessInInterpolation = 344

§

ArrayAccessInInterpolation = 345

§

Boolean = 346

§

SpecialScalarVariable = 347

§

ScalarVariable = 348

§

Typeglob = 349

§

ArrayAccessVariable = 350

§

HashAccessVariableSimple = 351

§

HashAccessVariable = 352

§

ArrayVariable = 353

§

HashVariable = 354

§

List = 355

§

Array = 356

§

ArrayRef = 357

§

HashRef = 358

§

Reference = 359

§

ToReference = 360

§

Dereference = 361

§

ScalarDereference = 362

§

LengthExpression = 363

§

ArrayDereference = 364

§

HashDereference = 365

§

KeywordsInHashKey = 366

§

ArrowOperator = 367

§

CommaOperator = 368

§

NormalComma = 369

§

Comments = 370

§

SourceFileRepeat1 = 371

§

HeredocBodyStatementRepeat1 = 372

§

UseParentStatementRepeat1 = 373

§

ExpressionStatementRepeat1 = 374

§

IfStatementRepeat1 = 375

§

BlockRepeat1 = 376

§

FunctionAttributeRepeat1 = 377

§

PackageVariableRepeat1 = 378

§

RelationalExpressionRepeat1 = 379

§

EqualityExpressionRepeat1 = 380

§

PackageNameRepeat1 = 381

§

StringSingleQuotedRepeat1 = 382

§

StringQQuotedRepeat1 = 383

§

StringDoubleQuotedRepeat1 = 384

§

StringQqQuotedRepeat1 = 385

§

BacktickQuotedRepeat1 = 386

§

WordListQwRepeat1 = 387

§

PatternMatcherMRepeat1 = 388

§

SubstitutionPatternSRepeat1 = 389

§

TransliterationTrOrYRepeat1 = 390

§

RegexPatternContentRepeat1 = 391

§

RegexPatternContentRepeat2 = 392

§

HashAccessInInterpolationRepeat1 = 393

§

ArrayAccessInInterpolationRepeat1 = 394

§

FunctionSignature = 395

§

Error = 396

Trait Implementations§

Source§

impl Clone for Perl

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Perl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Perl

Source§

impl From<Perl> for &'static str

Source§

fn from(tok: Perl) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Perl

Source§

fn from(x: u16) -> Self

Converts to this type from the input type.
Source§

impl FromPrimitive for Perl

Source§

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>

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>

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>

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>

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>

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>

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 more
Source§

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>

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>

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>

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>

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 more
Source§

fn from_f32(n: f32) -> Option<Self>

Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Source§

fn from_f64(n: f64) -> Option<Self>

Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Source§

impl PartialEq for Perl

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl PartialEq<Perl> for u16

Source§

fn eq(&self, x: &Perl) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl PartialEq<u16> for Perl

Source§

fn eq(&self, x: &u16) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Perl

Auto Trait Implementations§

§

impl Freeze for Perl

§

impl RefUnwindSafe for Perl

§

impl Send for Perl

§

impl Sync for Perl

§

impl Unpin for Perl

§

impl UnsafeUnpin for Perl

§

impl UnwindSafe for Perl

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.