Skip to main content

C

pub enum C {
Show 364 variants End = 0, Identifier = 1, HASHinclude = 2, PreprocIncludeToken2 = 3, HASHdefine = 4, LPAREN = 5, DOTDOTDOT = 6, COMMA = 7, RPAREN = 8, HASHif = 9, LF = 10, HASHendif = 11, HASHifdef = 12, HASHifndef = 13, HASHelse = 14, HASHelif = 15, HASHelifdef = 16, HASHelifndef = 17, PreprocArg = 18, PreprocDirective = 19, LPAREN2 = 20, Defined = 21, BANG = 22, TILDE = 23, DASH = 24, PLUS = 25, STAR = 26, SLASH = 27, PERCENT = 28, PIPEPIPE = 29, AMPAMP = 30, PIPE = 31, CARET = 32, AMP = 33, EQEQ = 34, BANGEQ = 35, GT = 36, GTEQ = 37, LTEQ = 38, LT = 39, LTLT = 40, GTGT = 41, SEMI = 42, Extension = 43, Typedef = 44, Extern = 45, Attribute2 = 46, Attribute3 = 47, COLONCOLON = 48, LBRACKLBRACK = 49, RBRACKRBRACK = 50, Declspec = 51, Based = 52, Cdecl = 53, Clrcall = 54, Stdcall = 55, Fastcall = 56, Thiscall = 57, Vectorcall = 58, MsRestrictModifier = 59, MsUnsignedPtrModifier = 60, MsSignedPtrModifier = 61, Unaligned = 62, Unaligned2 = 63, LBRACE = 64, RBRACE = 65, Signed = 66, Unsigned = 67, Long = 68, Short = 69, LBRACK = 70, Static = 71, RBRACK = 72, EQ = 73, Auto = 74, Register = 75, Inline = 76, Inline2 = 77, Inline3 = 78, Forceinline = 79, ThreadLocal = 80, Thread = 81, Const = 82, Constexpr = 83, Volatile = 84, Restrict = 85, Restrict2 = 86, Atomic = 87, Noreturn = 88, Noreturn2 = 89, Nonnull = 90, Alignas = 91, Alignas2 = 92, PrimitiveType = 93, Enum = 94, COLON = 95, Struct = 96, Union = 97, If = 98, Else = 99, Switch = 100, Case = 101, Default = 102, While = 103, Do = 104, For = 105, Return = 106, Break = 107, Continue = 108, Goto = 109, Try = 110, Except = 111, Finally = 112, Leave = 113, QMARK = 114, STAREQ = 115, SLASHEQ = 116, PERCENTEQ = 117, PLUSEQ = 118, DASHEQ = 119, LTLTEQ = 120, GTGTEQ = 121, AMPEQ = 122, CARETEQ = 123, PIPEEQ = 124, DASHDASH = 125, PLUSPLUS = 126, Sizeof = 127, Alignof = 128, Alignof2 = 129, Alignof3 = 130, Alignof4 = 131, Alignof5 = 132, Offsetof = 133, Generic = 134, Asm = 135, Asm2 = 136, Asm3 = 137, Volatile2 = 138, DOT = 139, DASHGT = 140, NumberLiteral = 141, LSQUOTE = 142, USQUOTE = 143, USQUOTE2 = 144, U8SQUOTE = 145, SQUOTE = 146, Character = 147, LDQUOTE = 148, UDQUOTE = 149, UDQUOTE2 = 150, U8DQUOTE = 151, DQUOTE = 152, StringContent = 153, EscapeSequence = 154, SystemLibString = 155, True = 156, False = 157, NULL = 158, Nullptr = 159, Comment = 160, TranslationUnit = 161, TopLevelItem = 162, BlockItem = 163, PreprocInclude = 164, PreprocDef = 165, PreprocFunctionDef = 166, PreprocParams = 167, PreprocCall = 168, PreprocIf = 169, PreprocIfdef = 170, PreprocElse = 171, PreprocElif = 172, PreprocElifdef = 173, PreprocIf2 = 174, PreprocIfdef2 = 175, PreprocElse2 = 176, PreprocElif2 = 177, PreprocElifdef2 = 178, PreprocIf3 = 179, PreprocIfdef3 = 180, PreprocElse3 = 181, PreprocElif3 = 182, PreprocElifdef3 = 183, PreprocIf4 = 184, PreprocIfdef4 = 185, PreprocElse4 = 186, PreprocElif4 = 187, PreprocElifdef4 = 188, PreprocExpression = 189, ParenthesizedExpression = 190, PreprocDefined = 191, UnaryExpression = 192, CallExpression = 193, ArgumentList = 194, BinaryExpression = 195, FunctionDefinition = 196, FunctionDefinition2 = 197, Declaration = 198, TypeDefinition = 199, TypeDefinitionType = 200, TypeDefinitionDeclarators = 201, DeclarationModifiers = 202, DeclarationSpecifiers = 203, LinkageSpecification = 204, AttributeSpecifier = 205, Attribute = 206, AttributeDeclaration = 207, MsDeclspecModifier = 208, MsBasedModifier = 209, MsCallModifier = 210, MsUnalignedPtrModifier = 211, MsPointerModifier = 212, DeclarationList = 213, Declarator = 214, DeclarationDeclarator = 215, FieldDeclarator = 216, TypeDeclarator = 217, AbstractDeclarator = 218, ParenthesizedDeclarator = 219, ParenthesizedDeclarator2 = 220, ParenthesizedDeclarator3 = 221, AbstractParenthesizedDeclarator = 222, AttributedDeclarator = 223, AttributedDeclarator2 = 224, AttributedDeclarator3 = 225, PointerDeclarator = 226, PointerDeclarator2 = 227, PointerDeclarator3 = 228, AbstractPointerDeclarator = 229, FunctionDeclarator = 230, FunctionDeclarator2 = 231, FunctionDeclarator3 = 232, FunctionDeclarator4 = 233, AbstractFunctionDeclarator = 234, FunctionDeclarator5 = 235, ArrayDeclarator = 236, ArrayDeclarator2 = 237, ArrayDeclarator3 = 238, AbstractArrayDeclarator = 239, InitDeclarator = 240, CompoundStatement = 241, StorageClassSpecifier = 242, TypeQualifier = 243, AlignasQualifier = 244, TypeSpecifier = 245, SizedTypeSpecifier = 246, EnumSpecifier = 247, EnumeratorList = 248, StructSpecifier = 249, UnionSpecifier = 250, FieldDeclarationList = 251, FieldDeclarationListItem = 252, FieldDeclaration = 253, FieldDeclarationDeclarator = 254, BitfieldClause = 255, Enumerator = 256, VariadicParameter = 257, ParameterList = 258, ParameterList2 = 259, ParameterDeclaration = 260, AttributedStatement = 261, Statement = 262, TopLevelStatement = 263, LabeledStatement = 264, ExpressionStatement = 265, ExpressionStatement2 = 266, IfStatement = 267, ElseClause = 268, SwitchStatement = 269, CaseStatement = 270, WhileStatement = 271, DoStatement = 272, ForStatement = 273, ForStatementBody = 274, ReturnStatement = 275, BreakStatement = 276, ContinueStatement = 277, GotoStatement = 278, SehTryStatement = 279, SehExceptClause = 280, SehFinallyClause = 281, SehLeaveStatement = 282, Expression = 283, String = 284, CommaExpression = 285, ConditionalExpression = 286, AssignmentExpression = 287, PointerExpression = 288, UnaryExpression2 = 289, BinaryExpression2 = 290, UpdateExpression = 291, CastExpression = 292, TypeDescriptor = 293, SizeofExpression = 294, AlignofExpression = 295, OffsetofExpression = 296, GenericExpression = 297, SubscriptExpression = 298, CallExpression2 = 299, GnuAsmExpression = 300, GnuAsmQualifier = 301, GnuAsmOutputOperandList = 302, GnuAsmOutputOperand = 303, GnuAsmInputOperandList = 304, GnuAsmInputOperand = 305, GnuAsmClobberList = 306, GnuAsmGotoList = 307, ExtensionExpression = 308, ArgumentList2 = 309, FieldExpression = 310, CompoundLiteralExpression = 311, ParenthesizedExpression2 = 312, InitializerList = 313, InitializerPair = 314, SubscriptDesignator = 315, SubscriptRangeDesignator = 316, FieldDesignator = 317, CharLiteral = 318, ConcatenatedString = 319, StringLiteral = 320, Null = 321, EmptyDeclaration = 322, MacroTypeSpecifier = 323, TranslationUnitRepeat1 = 324, PreprocParamsRepeat1 = 325, PreprocIfRepeat1 = 326, PreprocIfInFieldDeclarationListRepeat1 = 327, PreprocIfInEnumeratorListRepeat1 = 328, PreprocIfInEnumeratorListNoCommaRepeat1 = 329, PreprocArgumentListRepeat1 = 330, OldStyleFunctionDefinitionRepeat1 = 331, DeclarationRepeat1 = 332, TypeDefinitionRepeat1 = 333, TypeDefinitionTypeRepeat1 = 334, TypeDefinitionDeclaratorsRepeat1 = 335, DeclarationSpecifiersRepeat1 = 336, AttributeDeclarationRepeat1 = 337, AttributedDeclaratorRepeat1 = 338, PointerDeclaratorRepeat1 = 339, FunctionDeclaratorRepeat1 = 340, ArrayDeclaratorRepeat1 = 341, SizedTypeSpecifierRepeat1 = 342, EnumeratorListRepeat1 = 343, FieldDeclarationDeclaratorRepeat1 = 344, ParameterListRepeat1 = 345, OldStyleParameterListRepeat1 = 346, CaseStatementRepeat1 = 347, GenericExpressionRepeat1 = 348, GnuAsmExpressionRepeat1 = 349, GnuAsmOutputOperandListRepeat1 = 350, GnuAsmInputOperandListRepeat1 = 351, GnuAsmClobberListRepeat1 = 352, GnuAsmGotoListRepeat1 = 353, ArgumentListRepeat1 = 354, InitializerListRepeat1 = 355, InitializerPairRepeat1 = 356, CharLiteralRepeat1 = 357, ConcatenatedStringRepeat1 = 358, StringLiteralRepeat1 = 359, FieldIdentifier = 360, StatementIdentifier = 361, TypeIdentifier = 362, Error = 363,
}

Variants§

§

End = 0

§

Identifier = 1

§

HASHinclude = 2

§

PreprocIncludeToken2 = 3

§

HASHdefine = 4

§

LPAREN = 5

§

DOTDOTDOT = 6

§

COMMA = 7

§

RPAREN = 8

§

HASHif = 9

§

LF = 10

§

HASHendif = 11

§

HASHifdef = 12

§

HASHifndef = 13

§

HASHelse = 14

§

HASHelif = 15

§

HASHelifdef = 16

§

HASHelifndef = 17

§

PreprocArg = 18

§

PreprocDirective = 19

§

LPAREN2 = 20

§

Defined = 21

§

BANG = 22

§

TILDE = 23

§

DASH = 24

§

PLUS = 25

§

STAR = 26

§

SLASH = 27

§

PERCENT = 28

§

PIPEPIPE = 29

§

AMPAMP = 30

§

PIPE = 31

§

CARET = 32

§

AMP = 33

§

EQEQ = 34

§

BANGEQ = 35

§

GT = 36

§

GTEQ = 37

§

LTEQ = 38

§

LT = 39

§

LTLT = 40

§

GTGT = 41

§

SEMI = 42

§

Extension = 43

§

Typedef = 44

§

Extern = 45

§

Attribute2 = 46

§

Attribute3 = 47

§

COLONCOLON = 48

§

LBRACKLBRACK = 49

§

RBRACKRBRACK = 50

§

Declspec = 51

§

Based = 52

§

Cdecl = 53

§

Clrcall = 54

§

Stdcall = 55

§

Fastcall = 56

§

Thiscall = 57

§

Vectorcall = 58

§

MsRestrictModifier = 59

§

MsUnsignedPtrModifier = 60

§

MsSignedPtrModifier = 61

§

Unaligned = 62

§

Unaligned2 = 63

§

LBRACE = 64

§

RBRACE = 65

§

Signed = 66

§

Unsigned = 67

§

Long = 68

§

Short = 69

§

LBRACK = 70

§

Static = 71

§

RBRACK = 72

§

EQ = 73

§

Auto = 74

§

Register = 75

§

Inline = 76

§

Inline2 = 77

§

Inline3 = 78

§

Forceinline = 79

§

ThreadLocal = 80

§

Thread = 81

§

Const = 82

§

Constexpr = 83

§

Volatile = 84

§

Restrict = 85

§

Restrict2 = 86

§

Atomic = 87

§

Noreturn = 88

§

Noreturn2 = 89

§

Nonnull = 90

§

Alignas = 91

§

Alignas2 = 92

§

PrimitiveType = 93

§

Enum = 94

§

COLON = 95

§

Struct = 96

§

Union = 97

§

If = 98

§

Else = 99

§

Switch = 100

§

Case = 101

§

Default = 102

§

While = 103

§

Do = 104

§

For = 105

§

Return = 106

§

Break = 107

§

Continue = 108

§

Goto = 109

§

Try = 110

§

Except = 111

§

Finally = 112

§

Leave = 113

§

QMARK = 114

§

STAREQ = 115

§

SLASHEQ = 116

§

PERCENTEQ = 117

§

PLUSEQ = 118

§

DASHEQ = 119

§

LTLTEQ = 120

§

GTGTEQ = 121

§

AMPEQ = 122

§

CARETEQ = 123

§

PIPEEQ = 124

§

DASHDASH = 125

§

PLUSPLUS = 126

§

Sizeof = 127

§

Alignof = 128

§

Alignof2 = 129

§

Alignof3 = 130

§

Alignof4 = 131

§

Alignof5 = 132

§

Offsetof = 133

§

Generic = 134

§

Asm = 135

§

Asm2 = 136

§

Asm3 = 137

§

Volatile2 = 138

§

DOT = 139

§

DASHGT = 140

§

NumberLiteral = 141

§

LSQUOTE = 142

§

USQUOTE = 143

§

USQUOTE2 = 144

§

U8SQUOTE = 145

§

SQUOTE = 146

§

Character = 147

§

LDQUOTE = 148

§

UDQUOTE = 149

§

UDQUOTE2 = 150

§

U8DQUOTE = 151

§

DQUOTE = 152

§

StringContent = 153

§

EscapeSequence = 154

§

SystemLibString = 155

§

True = 156

§

False = 157

§

NULL = 158

§

Nullptr = 159

§

Comment = 160

§

TranslationUnit = 161

§

TopLevelItem = 162

§

BlockItem = 163

§

PreprocInclude = 164

§

PreprocDef = 165

§

PreprocFunctionDef = 166

§

PreprocParams = 167

§

PreprocCall = 168

§

PreprocIf = 169

§

PreprocIfdef = 170

§

PreprocElse = 171

§

PreprocElif = 172

§

PreprocElifdef = 173

§

PreprocIf2 = 174

§

PreprocIfdef2 = 175

§

PreprocElse2 = 176

§

PreprocElif2 = 177

§

PreprocElifdef2 = 178

§

PreprocIf3 = 179

§

PreprocIfdef3 = 180

§

PreprocElse3 = 181

§

PreprocElif3 = 182

§

PreprocElifdef3 = 183

§

PreprocIf4 = 184

§

PreprocIfdef4 = 185

§

PreprocElse4 = 186

§

PreprocElif4 = 187

§

PreprocElifdef4 = 188

§

PreprocExpression = 189

§

ParenthesizedExpression = 190

§

PreprocDefined = 191

§

UnaryExpression = 192

§

CallExpression = 193

§

ArgumentList = 194

§

BinaryExpression = 195

§

FunctionDefinition = 196

§

FunctionDefinition2 = 197

§

Declaration = 198

§

TypeDefinition = 199

§

TypeDefinitionType = 200

§

TypeDefinitionDeclarators = 201

§

DeclarationModifiers = 202

§

DeclarationSpecifiers = 203

§

LinkageSpecification = 204

§

AttributeSpecifier = 205

§

Attribute = 206

§

AttributeDeclaration = 207

§

MsDeclspecModifier = 208

§

MsBasedModifier = 209

§

MsCallModifier = 210

§

MsUnalignedPtrModifier = 211

§

MsPointerModifier = 212

§

DeclarationList = 213

§

Declarator = 214

§

DeclarationDeclarator = 215

§

FieldDeclarator = 216

§

TypeDeclarator = 217

§

AbstractDeclarator = 218

§

ParenthesizedDeclarator = 219

§

ParenthesizedDeclarator2 = 220

§

ParenthesizedDeclarator3 = 221

§

AbstractParenthesizedDeclarator = 222

§

AttributedDeclarator = 223

§

AttributedDeclarator2 = 224

§

AttributedDeclarator3 = 225

§

PointerDeclarator = 226

§

PointerDeclarator2 = 227

§

PointerDeclarator3 = 228

§

AbstractPointerDeclarator = 229

§

FunctionDeclarator = 230

§

FunctionDeclarator2 = 231

§

FunctionDeclarator3 = 232

§

FunctionDeclarator4 = 233

§

AbstractFunctionDeclarator = 234

§

FunctionDeclarator5 = 235

§

ArrayDeclarator = 236

§

ArrayDeclarator2 = 237

§

ArrayDeclarator3 = 238

§

AbstractArrayDeclarator = 239

§

InitDeclarator = 240

§

CompoundStatement = 241

§

StorageClassSpecifier = 242

§

TypeQualifier = 243

§

AlignasQualifier = 244

§

TypeSpecifier = 245

§

SizedTypeSpecifier = 246

§

EnumSpecifier = 247

§

EnumeratorList = 248

§

StructSpecifier = 249

§

UnionSpecifier = 250

§

FieldDeclarationList = 251

§

FieldDeclarationListItem = 252

§

FieldDeclaration = 253

§

FieldDeclarationDeclarator = 254

§

BitfieldClause = 255

§

Enumerator = 256

§

VariadicParameter = 257

§

ParameterList = 258

§

ParameterList2 = 259

§

ParameterDeclaration = 260

§

AttributedStatement = 261

§

Statement = 262

§

TopLevelStatement = 263

§

LabeledStatement = 264

§

ExpressionStatement = 265

§

ExpressionStatement2 = 266

§

IfStatement = 267

§

ElseClause = 268

§

SwitchStatement = 269

§

CaseStatement = 270

§

WhileStatement = 271

§

DoStatement = 272

§

ForStatement = 273

§

ForStatementBody = 274

§

ReturnStatement = 275

§

BreakStatement = 276

§

ContinueStatement = 277

§

GotoStatement = 278

§

SehTryStatement = 279

§

SehExceptClause = 280

§

SehFinallyClause = 281

§

SehLeaveStatement = 282

§

Expression = 283

§

String = 284

§

CommaExpression = 285

§

ConditionalExpression = 286

§

AssignmentExpression = 287

§

PointerExpression = 288

§

UnaryExpression2 = 289

§

BinaryExpression2 = 290

§

UpdateExpression = 291

§

CastExpression = 292

§

TypeDescriptor = 293

§

SizeofExpression = 294

§

AlignofExpression = 295

§

OffsetofExpression = 296

§

GenericExpression = 297

§

SubscriptExpression = 298

§

CallExpression2 = 299

§

GnuAsmExpression = 300

§

GnuAsmQualifier = 301

§

GnuAsmOutputOperandList = 302

§

GnuAsmOutputOperand = 303

§

GnuAsmInputOperandList = 304

§

GnuAsmInputOperand = 305

§

GnuAsmClobberList = 306

§

GnuAsmGotoList = 307

§

ExtensionExpression = 308

§

ArgumentList2 = 309

§

FieldExpression = 310

§

CompoundLiteralExpression = 311

§

ParenthesizedExpression2 = 312

§

InitializerList = 313

§

InitializerPair = 314

§

SubscriptDesignator = 315

§

SubscriptRangeDesignator = 316

§

FieldDesignator = 317

§

CharLiteral = 318

§

ConcatenatedString = 319

§

StringLiteral = 320

§

Null = 321

§

EmptyDeclaration = 322

§

MacroTypeSpecifier = 323

§

TranslationUnitRepeat1 = 324

§

PreprocParamsRepeat1 = 325

§

PreprocIfRepeat1 = 326

§

PreprocIfInFieldDeclarationListRepeat1 = 327

§

PreprocIfInEnumeratorListRepeat1 = 328

§

PreprocIfInEnumeratorListNoCommaRepeat1 = 329

§

PreprocArgumentListRepeat1 = 330

§

OldStyleFunctionDefinitionRepeat1 = 331

§

DeclarationRepeat1 = 332

§

TypeDefinitionRepeat1 = 333

§

TypeDefinitionTypeRepeat1 = 334

§

TypeDefinitionDeclaratorsRepeat1 = 335

§

DeclarationSpecifiersRepeat1 = 336

§

AttributeDeclarationRepeat1 = 337

§

AttributedDeclaratorRepeat1 = 338

§

PointerDeclaratorRepeat1 = 339

§

FunctionDeclaratorRepeat1 = 340

§

ArrayDeclaratorRepeat1 = 341

§

SizedTypeSpecifierRepeat1 = 342

§

EnumeratorListRepeat1 = 343

§

FieldDeclarationDeclaratorRepeat1 = 344

§

ParameterListRepeat1 = 345

§

OldStyleParameterListRepeat1 = 346

§

CaseStatementRepeat1 = 347

§

GenericExpressionRepeat1 = 348

§

GnuAsmExpressionRepeat1 = 349

§

GnuAsmOutputOperandListRepeat1 = 350

§

GnuAsmInputOperandListRepeat1 = 351

§

GnuAsmClobberListRepeat1 = 352

§

GnuAsmGotoListRepeat1 = 353

§

ArgumentListRepeat1 = 354

§

InitializerListRepeat1 = 355

§

InitializerPairRepeat1 = 356

§

CharLiteralRepeat1 = 357

§

ConcatenatedStringRepeat1 = 358

§

StringLiteralRepeat1 = 359

§

FieldIdentifier = 360

§

StatementIdentifier = 361

§

TypeIdentifier = 362

§

Error = 363

Trait Implementations§

Source§

impl Clone for C

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 C

Source§

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

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

impl Eq for C

Source§

impl From<C> for &'static str

Source§

fn from(tok: C) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for C

Source§

fn from(x: u16) -> Self

Converts to this type from the input type.
Source§

impl FromPrimitive for C

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 C

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<C> for u16

Source§

fn eq(&self, x: &C) -> 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 C

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 C

Auto Trait Implementations§

§

impl Freeze for C

§

impl RefUnwindSafe for C

§

impl Send for C

§

impl Sync for C

§

impl Unpin for C

§

impl UnsafeUnpin for C

§

impl UnwindSafe for C

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.