mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-11 20:58:54 +00:00
355 lines
No EOL
128 KiB
HTML
355 lines
No EOL
128 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT`."><title>SyntaxKind in parser - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="parser" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc enum"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../parser/index.html">parser</a><span class="version">0.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Syntax<wbr>Kind</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.ABI" title="ABI">ABI</a></li><li><a href="#variant.ABSTRACT_KW" title="ABSTRACT_KW">ABSTRACT_KW</a></li><li><a href="#variant.ADT" title="ADT">ADT</a></li><li><a href="#variant.AMP" title="AMP">AMP</a></li><li><a href="#variant.AMP2" title="AMP2">AMP2</a></li><li><a href="#variant.AMPEQ" title="AMPEQ">AMPEQ</a></li><li><a href="#variant.ARG_LIST" title="ARG_LIST">ARG_LIST</a></li><li><a href="#variant.ARRAY_EXPR" title="ARRAY_EXPR">ARRAY_EXPR</a></li><li><a href="#variant.ARRAY_TYPE" title="ARRAY_TYPE">ARRAY_TYPE</a></li><li><a href="#variant.ASM_CLOBBER_ABI" title="ASM_CLOBBER_ABI">ASM_CLOBBER_ABI</a></li><li><a href="#variant.ASM_CONST" title="ASM_CONST">ASM_CONST</a></li><li><a href="#variant.ASM_DIR_SPEC" title="ASM_DIR_SPEC">ASM_DIR_SPEC</a></li><li><a href="#variant.ASM_EXPR" title="ASM_EXPR">ASM_EXPR</a></li><li><a href="#variant.ASM_KW" title="ASM_KW">ASM_KW</a></li><li><a href="#variant.ASM_LABEL" title="ASM_LABEL">ASM_LABEL</a></li><li><a href="#variant.ASM_OPERAND" title="ASM_OPERAND">ASM_OPERAND</a></li><li><a href="#variant.ASM_OPERAND_EXPR" title="ASM_OPERAND_EXPR">ASM_OPERAND_EXPR</a></li><li><a href="#variant.ASM_OPERAND_NAMED" title="ASM_OPERAND_NAMED">ASM_OPERAND_NAMED</a></li><li><a href="#variant.ASM_OPTION" title="ASM_OPTION">ASM_OPTION</a></li><li><a href="#variant.ASM_OPTIONS" title="ASM_OPTIONS">ASM_OPTIONS</a></li><li><a href="#variant.ASM_PIECE" title="ASM_PIECE">ASM_PIECE</a></li><li><a href="#variant.ASM_REG_OPERAND" title="ASM_REG_OPERAND">ASM_REG_OPERAND</a></li><li><a href="#variant.ASM_REG_SPEC" title="ASM_REG_SPEC">ASM_REG_SPEC</a></li><li><a href="#variant.ASM_SYM" title="ASM_SYM">ASM_SYM</a></li><li><a href="#variant.ASSOC_ITEM" title="ASSOC_ITEM">ASSOC_ITEM</a></li><li><a href="#variant.ASSOC_ITEM_LIST" title="ASSOC_ITEM_LIST">ASSOC_ITEM_LIST</a></li><li><a href="#variant.ASSOC_TYPE_ARG" title="ASSOC_TYPE_ARG">ASSOC_TYPE_ARG</a></li><li><a href="#variant.ASYNC_KW" title="ASYNC_KW">ASYNC_KW</a></li><li><a href="#variant.AS_KW" title="AS_KW">AS_KW</a></li><li><a href="#variant.AT" title="AT">AT</a></li><li><a href="#variant.ATTR" title="ATTR">ATTR</a></li><li><a href="#variant.ATT_SYNTAX_KW" title="ATT_SYNTAX_KW">ATT_SYNTAX_KW</a></li><li><a href="#variant.AUTO_KW" title="AUTO_KW">AUTO_KW</a></li><li><a href="#variant.AWAIT_EXPR" title="AWAIT_EXPR">AWAIT_EXPR</a></li><li><a href="#variant.AWAIT_KW" title="AWAIT_KW">AWAIT_KW</a></li><li><a href="#variant.BANG" title="BANG">BANG</a></li><li><a href="#variant.BECOME_EXPR" title="BECOME_EXPR">BECOME_EXPR</a></li><li><a href="#variant.BECOME_KW" title="BECOME_KW">BECOME_KW</a></li><li><a href="#variant.BIN_EXPR" title="BIN_EXPR">BIN_EXPR</a></li><li><a href="#variant.BLOCK_EXPR" title="BLOCK_EXPR">BLOCK_EXPR</a></li><li><a href="#variant.BOX_KW" title="BOX_KW">BOX_KW</a></li><li><a href="#variant.BOX_PAT" title="BOX_PAT">BOX_PAT</a></li><li><a href="#variant.BREAK_EXPR" title="BREAK_EXPR">BREAK_EXPR</a></li><li><a href="#variant.BREAK_KW" title="BREAK_KW">BREAK_KW</a></li><li><a href="#variant.BUILTIN_KW" title="BUILTIN_KW">BUILTIN_KW</a></li><li><a href="#variant.BYTE" title="BYTE">BYTE</a></li><li><a href="#variant.BYTE_STRING" title="BYTE_STRING">BYTE_STRING</a></li><li><a href="#variant.CALL_EXPR" title="CALL_EXPR">CALL_EXPR</a></li><li><a href="#variant.CARET" title="CARET">CARET</a></li><li><a href="#variant.CARETEQ" title="CARETEQ">CARETEQ</a></li><li><a href="#variant.CAST_EXPR" title="CAST_EXPR">CAST_EXPR</a></li><li><a href="#variant.CHAR" title="CHAR">CHAR</a></li><li><a href="#variant.CLOBBER_ABI_KW" title="CLOBBER_ABI_KW">CLOBBER_ABI_KW</a></li><li><a href="#variant.CLOSURE_BINDER" title="CLOSURE_BINDER">CLOSURE_BINDER</a></li><li><a href="#variant.CLOSURE_EXPR" title="CLOSURE_EXPR">CLOSURE_EXPR</a></li><li><a href="#variant.COLON" title="COLON">COLON</a></li><li><a href="#variant.COLON2" title="COLON2">COLON2</a></li><li><a href="#variant.COMMA" title="COMMA">COMMA</a></li><li><a href="#variant.COMMENT" title="COMMENT">COMMENT</a></li><li><a href="#variant.CONST" title="CONST">CONST</a></li><li><a href="#variant.CONST_ARG" title="CONST_ARG">CONST_ARG</a></li><li><a href="#variant.CONST_BLOCK_PAT" title="CONST_BLOCK_PAT">CONST_BLOCK_PAT</a></li><li><a href="#variant.CONST_KW" title="CONST_KW">CONST_KW</a></li><li><a href="#variant.CONST_PARAM" title="CONST_PARAM">CONST_PARAM</a></li><li><a href="#variant.CONTINUE_EXPR" title="CONTINUE_EXPR">CONTINUE_EXPR</a></li><li><a href="#variant.CONTINUE_KW" title="CONTINUE_KW">CONTINUE_KW</a></li><li><a href="#variant.CRATE_KW" title="CRATE_KW">CRATE_KW</a></li><li><a href="#variant.C_STRING" title="C_STRING">C_STRING</a></li><li><a href="#variant.DEFAULT_KW" title="DEFAULT_KW">DEFAULT_KW</a></li><li><a href="#variant.DOLLAR" title="DOLLAR">DOLLAR</a></li><li><a href="#variant.DOT" title="DOT">DOT</a></li><li><a href="#variant.DOT2" title="DOT2">DOT2</a></li><li><a href="#variant.DOT2EQ" title="DOT2EQ">DOT2EQ</a></li><li><a href="#variant.DOT3" title="DOT3">DOT3</a></li><li><a href="#variant.DO_KW" title="DO_KW">DO_KW</a></li><li><a href="#variant.DYN_KW" title="DYN_KW">DYN_KW</a></li><li><a href="#variant.DYN_TRAIT_TYPE" title="DYN_TRAIT_TYPE">DYN_TRAIT_TYPE</a></li><li><a href="#variant.ELSE_KW" title="ELSE_KW">ELSE_KW</a></li><li><a href="#variant.ENUM" title="ENUM">ENUM</a></li><li><a href="#variant.ENUM_KW" title="ENUM_KW">ENUM_KW</a></li><li><a href="#variant.EQ" title="EQ">EQ</a></li><li><a href="#variant.EQ2" title="EQ2">EQ2</a></li><li><a href="#variant.ERROR" title="ERROR">ERROR</a></li><li><a href="#variant.EXPR" title="EXPR">EXPR</a></li><li><a href="#variant.EXPR_STMT" title="EXPR_STMT">EXPR_STMT</a></li><li><a href="#variant.EXTERN_BLOCK" title="EXTERN_BLOCK">EXTERN_BLOCK</a></li><li><a href="#variant.EXTERN_CRATE" title="EXTERN_CRATE">EXTERN_CRATE</a></li><li><a href="#variant.EXTERN_ITEM" title="EXTERN_ITEM">EXTERN_ITEM</a></li><li><a href="#variant.EXTERN_ITEM_LIST" title="EXTERN_ITEM_LIST">EXTERN_ITEM_LIST</a></li><li><a href="#variant.EXTERN_KW" title="EXTERN_KW">EXTERN_KW</a></li><li><a href="#variant.FALSE_KW" title="FALSE_KW">FALSE_KW</a></li><li><a href="#variant.FAT_ARROW" title="FAT_ARROW">FAT_ARROW</a></li><li><a href="#variant.FIELD_EXPR" title="FIELD_EXPR">FIELD_EXPR</a></li><li><a href="#variant.FIELD_LIST" title="FIELD_LIST">FIELD_LIST</a></li><li><a href="#variant.FINAL_KW" title="FINAL_KW">FINAL_KW</a></li><li><a href="#variant.FLOAT_NUMBER" title="FLOAT_NUMBER">FLOAT_NUMBER</a></li><li><a href="#variant.FN" title="FN">FN</a></li><li><a href="#variant.FN_KW" title="FN_KW">FN_KW</a></li><li><a href="#variant.FN_PTR_TYPE" title="FN_PTR_TYPE">FN_PTR_TYPE</a></li><li><a href="#variant.FORMAT_ARGS_ARG" title="FORMAT_ARGS_ARG">FORMAT_ARGS_ARG</a></li><li><a href="#variant.FORMAT_ARGS_EXPR" title="FORMAT_ARGS_EXPR">FORMAT_ARGS_EXPR</a></li><li><a href="#variant.FORMAT_ARGS_KW" title="FORMAT_ARGS_KW">FORMAT_ARGS_KW</a></li><li><a href="#variant.FOR_EXPR" title="FOR_EXPR">FOR_EXPR</a></li><li><a href="#variant.FOR_KW" title="FOR_KW">FOR_KW</a></li><li><a href="#variant.FOR_TYPE" title="FOR_TYPE">FOR_TYPE</a></li><li><a href="#variant.GENERIC_ARG" title="GENERIC_ARG">GENERIC_ARG</a></li><li><a href="#variant.GENERIC_ARG_LIST" title="GENERIC_ARG_LIST">GENERIC_ARG_LIST</a></li><li><a href="#variant.GENERIC_PARAM" title="GENERIC_PARAM">GENERIC_PARAM</a></li><li><a href="#variant.GENERIC_PARAM_LIST" title="GENERIC_PARAM_LIST">GENERIC_PARAM_LIST</a></li><li><a href="#variant.GEN_KW" title="GEN_KW">GEN_KW</a></li><li><a href="#variant.GTEQ" title="GTEQ">GTEQ</a></li><li><a href="#variant.IDENT" title="IDENT">IDENT</a></li><li><a href="#variant.IDENT_PAT" title="IDENT_PAT">IDENT_PAT</a></li><li><a href="#variant.IF_EXPR" title="IF_EXPR">IF_EXPR</a></li><li><a href="#variant.IF_KW" title="IF_KW">IF_KW</a></li><li><a href="#variant.IMPL" title="IMPL">IMPL</a></li><li><a href="#variant.IMPL_KW" title="IMPL_KW">IMPL_KW</a></li><li><a href="#variant.IMPL_TRAIT_TYPE" title="IMPL_TRAIT_TYPE">IMPL_TRAIT_TYPE</a></li><li><a href="#variant.INDEX_EXPR" title="INDEX_EXPR">INDEX_EXPR</a></li><li><a href="#variant.INFER_TYPE" title="INFER_TYPE">INFER_TYPE</a></li><li><a href="#variant.INLATEOUT_KW" title="INLATEOUT_KW">INLATEOUT_KW</a></li><li><a href="#variant.INOUT_KW" title="INOUT_KW">INOUT_KW</a></li><li><a href="#variant.INT_NUMBER" title="INT_NUMBER">INT_NUMBER</a></li><li><a href="#variant.IN_KW" title="IN_KW">IN_KW</a></li><li><a href="#variant.ITEM" title="ITEM">ITEM</a></li><li><a href="#variant.ITEM_LIST" title="ITEM_LIST">ITEM_LIST</a></li><li><a href="#variant.LABEL" title="LABEL">LABEL</a></li><li><a href="#variant.LABEL_KW" title="LABEL_KW">LABEL_KW</a></li><li><a href="#variant.LATEOUT_KW" title="LATEOUT_KW">LATEOUT_KW</a></li><li><a href="#variant.LET_ELSE" title="LET_ELSE">LET_ELSE</a></li><li><a href="#variant.LET_EXPR" title="LET_EXPR">LET_EXPR</a></li><li><a href="#variant.LET_KW" title="LET_KW">LET_KW</a></li><li><a href="#variant.LET_STMT" title="LET_STMT">LET_STMT</a></li><li><a href="#variant.LIFETIME" title="LIFETIME">LIFETIME</a></li><li><a href="#variant.LIFETIME_ARG" title="LIFETIME_ARG">LIFETIME_ARG</a></li><li><a href="#variant.LIFETIME_IDENT" title="LIFETIME_IDENT">LIFETIME_IDENT</a></li><li><a href="#variant.LIFETIME_PARAM" title="LIFETIME_PARAM">LIFETIME_PARAM</a></li><li><a href="#variant.LITERAL" title="LITERAL">LITERAL</a></li><li><a href="#variant.LITERAL_PAT" title="LITERAL_PAT">LITERAL_PAT</a></li><li><a href="#variant.LOOP_EXPR" title="LOOP_EXPR">LOOP_EXPR</a></li><li><a href="#variant.LOOP_KW" title="LOOP_KW">LOOP_KW</a></li><li><a href="#variant.LTEQ" title="LTEQ">LTEQ</a></li><li><a href="#variant.L_ANGLE" title="L_ANGLE">L_ANGLE</a></li><li><a href="#variant.L_BRACK" title="L_BRACK">L_BRACK</a></li><li><a href="#variant.L_CURLY" title="L_CURLY">L_CURLY</a></li><li><a href="#variant.L_PAREN" title="L_PAREN">L_PAREN</a></li><li><a href="#variant.MACRO_CALL" title="MACRO_CALL">MACRO_CALL</a></li><li><a href="#variant.MACRO_DEF" title="MACRO_DEF">MACRO_DEF</a></li><li><a href="#variant.MACRO_EXPR" title="MACRO_EXPR">MACRO_EXPR</a></li><li><a href="#variant.MACRO_ITEMS" title="MACRO_ITEMS">MACRO_ITEMS</a></li><li><a href="#variant.MACRO_KW" title="MACRO_KW">MACRO_KW</a></li><li><a href="#variant.MACRO_PAT" title="MACRO_PAT">MACRO_PAT</a></li><li><a href="#variant.MACRO_RULES" title="MACRO_RULES">MACRO_RULES</a></li><li><a href="#variant.MACRO_RULES_KW" title="MACRO_RULES_KW">MACRO_RULES_KW</a></li><li><a href="#variant.MACRO_STMTS" title="MACRO_STMTS">MACRO_STMTS</a></li><li><a href="#variant.MACRO_TYPE" title="MACRO_TYPE">MACRO_TYPE</a></li><li><a href="#variant.MATCH_ARM" title="MATCH_ARM">MATCH_ARM</a></li><li><a href="#variant.MATCH_ARM_LIST" title="MATCH_ARM_LIST">MATCH_ARM_LIST</a></li><li><a href="#variant.MATCH_EXPR" title="MATCH_EXPR">MATCH_EXPR</a></li><li><a href="#variant.MATCH_GUARD" title="MATCH_GUARD">MATCH_GUARD</a></li><li><a href="#variant.MATCH_KW" title="MATCH_KW">MATCH_KW</a></li><li><a href="#variant.MAY_UNWIND_KW" title="MAY_UNWIND_KW">MAY_UNWIND_KW</a></li><li><a href="#variant.META" title="META">META</a></li><li><a href="#variant.METHOD_CALL_EXPR" title="METHOD_CALL_EXPR">METHOD_CALL_EXPR</a></li><li><a href="#variant.MINUS" title="MINUS">MINUS</a></li><li><a href="#variant.MINUSEQ" title="MINUSEQ">MINUSEQ</a></li><li><a href="#variant.MODULE" title="MODULE">MODULE</a></li><li><a href="#variant.MOD_KW" title="MOD_KW">MOD_KW</a></li><li><a href="#variant.MOVE_KW" title="MOVE_KW">MOVE_KW</a></li><li><a href="#variant.MUT_KW" title="MUT_KW">MUT_KW</a></li><li><a href="#variant.NAME" title="NAME">NAME</a></li><li><a href="#variant.NAME_REF" title="NAME_REF">NAME_REF</a></li><li><a href="#variant.NEQ" title="NEQ">NEQ</a></li><li><a href="#variant.NEVER_TYPE" title="NEVER_TYPE">NEVER_TYPE</a></li><li><a href="#variant.NEWLINE" title="NEWLINE">NEWLINE</a></li><li><a href="#variant.NOMEM_KW" title="NOMEM_KW">NOMEM_KW</a></li><li><a href="#variant.NORETURN_KW" title="NORETURN_KW">NORETURN_KW</a></li><li><a href="#variant.NOSTACK_KW" title="NOSTACK_KW">NOSTACK_KW</a></li><li><a href="#variant.OFFSET_OF_EXPR" title="OFFSET_OF_EXPR">OFFSET_OF_EXPR</a></li><li><a href="#variant.OFFSET_OF_KW" title="OFFSET_OF_KW">OFFSET_OF_KW</a></li><li><a href="#variant.OPTIONS_KW" title="OPTIONS_KW">OPTIONS_KW</a></li><li><a href="#variant.OR_PAT" title="OR_PAT">OR_PAT</a></li><li><a href="#variant.OUT_KW" title="OUT_KW">OUT_KW</a></li><li><a href="#variant.OVERRIDE_KW" title="OVERRIDE_KW">OVERRIDE_KW</a></li><li><a href="#variant.PARAM" title="PARAM">PARAM</a></li><li><a href="#variant.PARAM_LIST" title="PARAM_LIST">PARAM_LIST</a></li><li><a href="#variant.PARENTHESIZED_ARG_LIST" title="PARENTHESIZED_ARG_LIST">PARENTHESIZED_ARG_LIST</a></li><li><a href="#variant.PAREN_EXPR" title="PAREN_EXPR">PAREN_EXPR</a></li><li><a href="#variant.PAREN_PAT" title="PAREN_PAT">PAREN_PAT</a></li><li><a href="#variant.PAREN_TYPE" title="PAREN_TYPE">PAREN_TYPE</a></li><li><a href="#variant.PAT" title="PAT">PAT</a></li><li><a href="#variant.PATH" title="PATH">PATH</a></li><li><a href="#variant.PATH_EXPR" title="PATH_EXPR">PATH_EXPR</a></li><li><a href="#variant.PATH_PAT" title="PATH_PAT">PATH_PAT</a></li><li><a href="#variant.PATH_SEGMENT" title="PATH_SEGMENT">PATH_SEGMENT</a></li><li><a href="#variant.PATH_TYPE" title="PATH_TYPE">PATH_TYPE</a></li><li><a href="#variant.PERCENT" title="PERCENT">PERCENT</a></li><li><a href="#variant.PERCENTEQ" title="PERCENTEQ">PERCENTEQ</a></li><li><a href="#variant.PIPE" title="PIPE">PIPE</a></li><li><a href="#variant.PIPE2" title="PIPE2">PIPE2</a></li><li><a href="#variant.PIPEEQ" title="PIPEEQ">PIPEEQ</a></li><li><a href="#variant.PLUS" title="PLUS">PLUS</a></li><li><a href="#variant.PLUSEQ" title="PLUSEQ">PLUSEQ</a></li><li><a href="#variant.POUND" title="POUND">POUND</a></li><li><a href="#variant.PREFIX_EXPR" title="PREFIX_EXPR">PREFIX_EXPR</a></li><li><a href="#variant.PRESERVES_FLAGS_KW" title="PRESERVES_FLAGS_KW">PRESERVES_FLAGS_KW</a></li><li><a href="#variant.PRIV_KW" title="PRIV_KW">PRIV_KW</a></li><li><a href="#variant.PTR_TYPE" title="PTR_TYPE">PTR_TYPE</a></li><li><a href="#variant.PUB_KW" title="PUB_KW">PUB_KW</a></li><li><a href="#variant.PURE_KW" title="PURE_KW">PURE_KW</a></li><li><a href="#variant.QUESTION" title="QUESTION">QUESTION</a></li><li><a href="#variant.RANGE_EXPR" title="RANGE_EXPR">RANGE_EXPR</a></li><li><a href="#variant.RANGE_PAT" title="RANGE_PAT">RANGE_PAT</a></li><li><a href="#variant.RAW_BYTE_STRING" title="RAW_BYTE_STRING">RAW_BYTE_STRING</a></li><li><a href="#variant.RAW_C_STRING" title="RAW_C_STRING">RAW_C_STRING</a></li><li><a href="#variant.RAW_KW" title="RAW_KW">RAW_KW</a></li><li><a href="#variant.RAW_STRING" title="RAW_STRING">RAW_STRING</a></li><li><a href="#variant.READONLY_KW" title="READONLY_KW">READONLY_KW</a></li><li><a href="#variant.RECORD_EXPR" title="RECORD_EXPR">RECORD_EXPR</a></li><li><a href="#variant.RECORD_EXPR_FIELD" title="RECORD_EXPR_FIELD">RECORD_EXPR_FIELD</a></li><li><a href="#variant.RECORD_EXPR_FIELD_LIST" title="RECORD_EXPR_FIELD_LIST">RECORD_EXPR_FIELD_LIST</a></li><li><a href="#variant.RECORD_FIELD" title="RECORD_FIELD">RECORD_FIELD</a></li><li><a href="#variant.RECORD_FIELD_LIST" title="RECORD_FIELD_LIST">RECORD_FIELD_LIST</a></li><li><a href="#variant.RECORD_PAT" title="RECORD_PAT">RECORD_PAT</a></li><li><a href="#variant.RECORD_PAT_FIELD" title="RECORD_PAT_FIELD">RECORD_PAT_FIELD</a></li><li><a href="#variant.RECORD_PAT_FIELD_LIST" title="RECORD_PAT_FIELD_LIST">RECORD_PAT_FIELD_LIST</a></li><li><a href="#variant.REF_EXPR" title="REF_EXPR">REF_EXPR</a></li><li><a href="#variant.REF_KW" title="REF_KW">REF_KW</a></li><li><a href="#variant.REF_PAT" title="REF_PAT">REF_PAT</a></li><li><a href="#variant.REF_TYPE" title="REF_TYPE">REF_TYPE</a></li><li><a href="#variant.RENAME" title="RENAME">RENAME</a></li><li><a href="#variant.REST_PAT" title="REST_PAT">REST_PAT</a></li><li><a href="#variant.RETURN_EXPR" title="RETURN_EXPR">RETURN_EXPR</a></li><li><a href="#variant.RETURN_KW" title="RETURN_KW">RETURN_KW</a></li><li><a href="#variant.RETURN_TYPE_SYNTAX" title="RETURN_TYPE_SYNTAX">RETURN_TYPE_SYNTAX</a></li><li><a href="#variant.RET_TYPE" title="RET_TYPE">RET_TYPE</a></li><li><a href="#variant.R_ANGLE" title="R_ANGLE">R_ANGLE</a></li><li><a href="#variant.R_BRACK" title="R_BRACK">R_BRACK</a></li><li><a href="#variant.R_CURLY" title="R_CURLY">R_CURLY</a></li><li><a href="#variant.R_PAREN" title="R_PAREN">R_PAREN</a></li><li><a href="#variant.SAFE_KW" title="SAFE_KW">SAFE_KW</a></li><li><a href="#variant.SELF_KW" title="SELF_KW">SELF_KW</a></li><li><a href="#variant.SELF_PARAM" title="SELF_PARAM">SELF_PARAM</a></li><li><a href="#variant.SELF_TYPE_KW" title="SELF_TYPE_KW">SELF_TYPE_KW</a></li><li><a href="#variant.SEMICOLON" title="SEMICOLON">SEMICOLON</a></li><li><a href="#variant.SHEBANG" title="SHEBANG">SHEBANG</a></li><li><a href="#variant.SHL" title="SHL">SHL</a></li><li><a href="#variant.SHLEQ" title="SHLEQ">SHLEQ</a></li><li><a href="#variant.SHR" title="SHR">SHR</a></li><li><a href="#variant.SHREQ" title="SHREQ">SHREQ</a></li><li><a href="#variant.SLASH" title="SLASH">SLASH</a></li><li><a href="#variant.SLASHEQ" title="SLASHEQ">SLASHEQ</a></li><li><a href="#variant.SLICE_PAT" title="SLICE_PAT">SLICE_PAT</a></li><li><a href="#variant.SLICE_TYPE" title="SLICE_TYPE">SLICE_TYPE</a></li><li><a href="#variant.SOURCE_FILE" title="SOURCE_FILE">SOURCE_FILE</a></li><li><a href="#variant.STAR" title="STAR">STAR</a></li><li><a href="#variant.STAREQ" title="STAREQ">STAREQ</a></li><li><a href="#variant.STATIC" title="STATIC">STATIC</a></li><li><a href="#variant.STATIC_KW" title="STATIC_KW">STATIC_KW</a></li><li><a href="#variant.STMT" title="STMT">STMT</a></li><li><a href="#variant.STMT_LIST" title="STMT_LIST">STMT_LIST</a></li><li><a href="#variant.STRING" title="STRING">STRING</a></li><li><a href="#variant.STRUCT" title="STRUCT">STRUCT</a></li><li><a href="#variant.STRUCT_KW" title="STRUCT_KW">STRUCT_KW</a></li><li><a href="#variant.SUPER_KW" title="SUPER_KW">SUPER_KW</a></li><li><a href="#variant.SYM_KW" title="SYM_KW">SYM_KW</a></li><li><a href="#variant.THIN_ARROW" title="THIN_ARROW">THIN_ARROW</a></li><li><a href="#variant.TILDE" title="TILDE">TILDE</a></li><li><a href="#variant.TOKEN_TREE" title="TOKEN_TREE">TOKEN_TREE</a></li><li><a href="#variant.TRAIT" title="TRAIT">TRAIT</a></li><li><a href="#variant.TRAIT_ALIAS" title="TRAIT_ALIAS">TRAIT_ALIAS</a></li><li><a href="#variant.TRAIT_KW" title="TRAIT_KW">TRAIT_KW</a></li><li><a href="#variant.TRUE_KW" title="TRUE_KW">TRUE_KW</a></li><li><a href="#variant.TRY_EXPR" title="TRY_EXPR">TRY_EXPR</a></li><li><a href="#variant.TRY_KW" title="TRY_KW">TRY_KW</a></li><li><a href="#variant.TUPLE_EXPR" title="TUPLE_EXPR">TUPLE_EXPR</a></li><li><a href="#variant.TUPLE_FIELD" title="TUPLE_FIELD">TUPLE_FIELD</a></li><li><a href="#variant.TUPLE_FIELD_LIST" title="TUPLE_FIELD_LIST">TUPLE_FIELD_LIST</a></li><li><a href="#variant.TUPLE_PAT" title="TUPLE_PAT">TUPLE_PAT</a></li><li><a href="#variant.TUPLE_STRUCT_PAT" title="TUPLE_STRUCT_PAT">TUPLE_STRUCT_PAT</a></li><li><a href="#variant.TUPLE_TYPE" title="TUPLE_TYPE">TUPLE_TYPE</a></li><li><a href="#variant.TYPE" title="TYPE">TYPE</a></li><li><a href="#variant.TYPEOF_KW" title="TYPEOF_KW">TYPEOF_KW</a></li><li><a href="#variant.TYPE_ALIAS" title="TYPE_ALIAS">TYPE_ALIAS</a></li><li><a href="#variant.TYPE_ARG" title="TYPE_ARG">TYPE_ARG</a></li><li><a href="#variant.TYPE_BOUND" title="TYPE_BOUND">TYPE_BOUND</a></li><li><a href="#variant.TYPE_BOUND_LIST" title="TYPE_BOUND_LIST">TYPE_BOUND_LIST</a></li><li><a href="#variant.TYPE_KW" title="TYPE_KW">TYPE_KW</a></li><li><a href="#variant.TYPE_PARAM" title="TYPE_PARAM">TYPE_PARAM</a></li><li><a href="#variant.UNDERSCORE" title="UNDERSCORE">UNDERSCORE</a></li><li><a href="#variant.UNDERSCORE_EXPR" title="UNDERSCORE_EXPR">UNDERSCORE_EXPR</a></li><li><a href="#variant.UNION" title="UNION">UNION</a></li><li><a href="#variant.UNION_KW" title="UNION_KW">UNION_KW</a></li><li><a href="#variant.UNSAFE_KW" title="UNSAFE_KW">UNSAFE_KW</a></li><li><a href="#variant.UNSIZED_KW" title="UNSIZED_KW">UNSIZED_KW</a></li><li><a href="#variant.USE" title="USE">USE</a></li><li><a href="#variant.USE_BOUND_GENERIC_ARG" title="USE_BOUND_GENERIC_ARG">USE_BOUND_GENERIC_ARG</a></li><li><a href="#variant.USE_BOUND_GENERIC_ARGS" title="USE_BOUND_GENERIC_ARGS">USE_BOUND_GENERIC_ARGS</a></li><li><a href="#variant.USE_KW" title="USE_KW">USE_KW</a></li><li><a href="#variant.USE_TREE" title="USE_TREE">USE_TREE</a></li><li><a href="#variant.USE_TREE_LIST" title="USE_TREE_LIST">USE_TREE_LIST</a></li><li><a href="#variant.VARIANT" title="VARIANT">VARIANT</a></li><li><a href="#variant.VARIANT_LIST" title="VARIANT_LIST">VARIANT_LIST</a></li><li><a href="#variant.VIRTUAL_KW" title="VIRTUAL_KW">VIRTUAL_KW</a></li><li><a href="#variant.VISIBILITY" title="VISIBILITY">VISIBILITY</a></li><li><a href="#variant.WHERE_CLAUSE" title="WHERE_CLAUSE">WHERE_CLAUSE</a></li><li><a href="#variant.WHERE_KW" title="WHERE_KW">WHERE_KW</a></li><li><a href="#variant.WHERE_PRED" title="WHERE_PRED">WHERE_PRED</a></li><li><a href="#variant.WHILE_EXPR" title="WHILE_EXPR">WHILE_EXPR</a></li><li><a href="#variant.WHILE_KW" title="WHILE_KW">WHILE_KW</a></li><li><a href="#variant.WHITESPACE" title="WHITESPACE">WHITESPACE</a></li><li><a href="#variant.WILDCARD_PAT" title="WILDCARD_PAT">WILDCARD_PAT</a></li><li><a href="#variant.YEET_EXPR" title="YEET_EXPR">YEET_EXPR</a></li><li><a href="#variant.YEET_KW" title="YEET_KW">YEET_KW</a></li><li><a href="#variant.YIELD_EXPR" title="YIELD_EXPR">YIELD_EXPR</a></li><li><a href="#variant.YIELD_KW" title="YIELD_KW">YIELD_KW</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.from_char" title="from_char">from_char</a></li><li><a href="#method.from_contextual_keyword" title="from_contextual_keyword">from_contextual_keyword</a></li><li><a href="#method.from_keyword" title="from_keyword">from_keyword</a></li><li><a href="#method.is_any_identifier" title="is_any_identifier">is_any_identifier</a></li><li><a href="#method.is_contextual_keyword" title="is_contextual_keyword">is_contextual_keyword</a></li><li><a href="#method.is_keyword" title="is_keyword">is_keyword</a></li><li><a href="#method.is_literal" title="is_literal">is_literal</a></li><li><a href="#method.is_punct" title="is_punct">is_punct</a></li><li><a href="#method.is_strict_keyword" title="is_strict_keyword">is_strict_keyword</a></li><li><a href="#method.is_trivia" title="is_trivia">is_trivia</a></li><li><a href="#method.text" title="text">text</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-SyntaxKind" title="Clone">Clone</a></li><li><a href="#impl-Copy-for-SyntaxKind" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-SyntaxKind" title="Debug">Debug</a></li><li><a href="#impl-Eq-for-SyntaxKind" title="Eq">Eq</a></li><li><a href="#impl-From%3CSyntaxKind%3E-for-u16" title="From<SyntaxKind>">From<SyntaxKind></a></li><li><a href="#impl-From%3Cu16%3E-for-SyntaxKind" title="From<u16>">From<u16></a></li><li><a href="#impl-Hash-for-SyntaxKind" title="Hash">Hash</a></li><li><a href="#impl-Ord-for-SyntaxKind" title="Ord">Ord</a></li><li><a href="#impl-PartialEq-for-SyntaxKind" title="PartialEq">PartialEq</a></li><li><a href="#impl-PartialOrd-for-SyntaxKind" title="PartialOrd">PartialOrd</a></li><li><a href="#impl-StructuralPartialEq-for-SyntaxKind" title="StructuralPartialEq">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-SyntaxKind" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-SyntaxKind" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-SyntaxKind" title="Send">Send</a></li><li><a href="#impl-Sync-for-SyntaxKind" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-SyntaxKind" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-SyntaxKind" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Instrument-for-T" title="Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate parser</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">parser</a></span><h1>Enum <span class="enum">SyntaxKind</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/parser/syntax_kind/generated.rs.html#8-331">Source</a> </span></div><pre class="rust item-decl"><code><div class="code-attribute">#[repr(u16)]</div>pub enum SyntaxKind {
|
|
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 316 variants</span></summary> DOLLAR,
|
|
SEMICOLON,
|
|
COMMA,
|
|
L_PAREN,
|
|
R_PAREN,
|
|
L_CURLY,
|
|
R_CURLY,
|
|
L_BRACK,
|
|
R_BRACK,
|
|
L_ANGLE,
|
|
R_ANGLE,
|
|
AT,
|
|
POUND,
|
|
TILDE,
|
|
QUESTION,
|
|
AMP,
|
|
PIPE,
|
|
PLUS,
|
|
STAR,
|
|
SLASH,
|
|
CARET,
|
|
PERCENT,
|
|
UNDERSCORE,
|
|
DOT,
|
|
DOT2,
|
|
DOT3,
|
|
DOT2EQ,
|
|
COLON,
|
|
COLON2,
|
|
EQ,
|
|
EQ2,
|
|
FAT_ARROW,
|
|
BANG,
|
|
NEQ,
|
|
MINUS,
|
|
THIN_ARROW,
|
|
LTEQ,
|
|
GTEQ,
|
|
PLUSEQ,
|
|
MINUSEQ,
|
|
PIPEEQ,
|
|
AMPEQ,
|
|
CARETEQ,
|
|
SLASHEQ,
|
|
STAREQ,
|
|
PERCENTEQ,
|
|
AMP2,
|
|
PIPE2,
|
|
SHL,
|
|
SHR,
|
|
SHLEQ,
|
|
SHREQ,
|
|
SELF_TYPE_KW,
|
|
ABSTRACT_KW,
|
|
AS_KW,
|
|
BECOME_KW,
|
|
BOX_KW,
|
|
BREAK_KW,
|
|
CONST_KW,
|
|
CONTINUE_KW,
|
|
CRATE_KW,
|
|
DO_KW,
|
|
ELSE_KW,
|
|
ENUM_KW,
|
|
EXTERN_KW,
|
|
FALSE_KW,
|
|
FINAL_KW,
|
|
FN_KW,
|
|
FOR_KW,
|
|
IF_KW,
|
|
IMPL_KW,
|
|
IN_KW,
|
|
LET_KW,
|
|
LOOP_KW,
|
|
MACRO_KW,
|
|
MATCH_KW,
|
|
MOD_KW,
|
|
MOVE_KW,
|
|
MUT_KW,
|
|
OVERRIDE_KW,
|
|
PRIV_KW,
|
|
PUB_KW,
|
|
REF_KW,
|
|
RETURN_KW,
|
|
SELF_KW,
|
|
STATIC_KW,
|
|
STRUCT_KW,
|
|
SUPER_KW,
|
|
TRAIT_KW,
|
|
TRUE_KW,
|
|
TYPE_KW,
|
|
TYPEOF_KW,
|
|
UNSAFE_KW,
|
|
UNSIZED_KW,
|
|
USE_KW,
|
|
VIRTUAL_KW,
|
|
WHERE_KW,
|
|
WHILE_KW,
|
|
YIELD_KW,
|
|
ASM_KW,
|
|
ASYNC_KW,
|
|
ATT_SYNTAX_KW,
|
|
AUTO_KW,
|
|
AWAIT_KW,
|
|
BUILTIN_KW,
|
|
CLOBBER_ABI_KW,
|
|
DEFAULT_KW,
|
|
DYN_KW,
|
|
FORMAT_ARGS_KW,
|
|
GEN_KW,
|
|
INLATEOUT_KW,
|
|
INOUT_KW,
|
|
LABEL_KW,
|
|
LATEOUT_KW,
|
|
MACRO_RULES_KW,
|
|
MAY_UNWIND_KW,
|
|
NOMEM_KW,
|
|
NORETURN_KW,
|
|
NOSTACK_KW,
|
|
OFFSET_OF_KW,
|
|
OPTIONS_KW,
|
|
OUT_KW,
|
|
PRESERVES_FLAGS_KW,
|
|
PURE_KW,
|
|
RAW_KW,
|
|
READONLY_KW,
|
|
SAFE_KW,
|
|
SYM_KW,
|
|
TRY_KW,
|
|
UNION_KW,
|
|
YEET_KW,
|
|
BYTE,
|
|
BYTE_STRING,
|
|
CHAR,
|
|
C_STRING,
|
|
FLOAT_NUMBER,
|
|
INT_NUMBER,
|
|
RAW_BYTE_STRING,
|
|
RAW_C_STRING,
|
|
RAW_STRING,
|
|
STRING,
|
|
COMMENT,
|
|
ERROR,
|
|
IDENT,
|
|
LIFETIME_IDENT,
|
|
NEWLINE,
|
|
SHEBANG,
|
|
WHITESPACE,
|
|
ABI,
|
|
ADT,
|
|
ARG_LIST,
|
|
ARRAY_EXPR,
|
|
ARRAY_TYPE,
|
|
ASM_CLOBBER_ABI,
|
|
ASM_CONST,
|
|
ASM_DIR_SPEC,
|
|
ASM_EXPR,
|
|
ASM_LABEL,
|
|
ASM_OPERAND,
|
|
ASM_OPERAND_EXPR,
|
|
ASM_OPERAND_NAMED,
|
|
ASM_OPTION,
|
|
ASM_OPTIONS,
|
|
ASM_PIECE,
|
|
ASM_REG_OPERAND,
|
|
ASM_REG_SPEC,
|
|
ASM_SYM,
|
|
ASSOC_ITEM,
|
|
ASSOC_ITEM_LIST,
|
|
ASSOC_TYPE_ARG,
|
|
ATTR,
|
|
AWAIT_EXPR,
|
|
BECOME_EXPR,
|
|
BIN_EXPR,
|
|
BLOCK_EXPR,
|
|
BOX_PAT,
|
|
BREAK_EXPR,
|
|
CALL_EXPR,
|
|
CAST_EXPR,
|
|
CLOSURE_BINDER,
|
|
CLOSURE_EXPR,
|
|
CONST,
|
|
CONST_ARG,
|
|
CONST_BLOCK_PAT,
|
|
CONST_PARAM,
|
|
CONTINUE_EXPR,
|
|
DYN_TRAIT_TYPE,
|
|
ENUM,
|
|
EXPR,
|
|
EXPR_STMT,
|
|
EXTERN_BLOCK,
|
|
EXTERN_CRATE,
|
|
EXTERN_ITEM,
|
|
EXTERN_ITEM_LIST,
|
|
FIELD_EXPR,
|
|
FIELD_LIST,
|
|
FN,
|
|
FN_PTR_TYPE,
|
|
FORMAT_ARGS_ARG,
|
|
FORMAT_ARGS_EXPR,
|
|
FOR_EXPR,
|
|
FOR_TYPE,
|
|
GENERIC_ARG,
|
|
GENERIC_ARG_LIST,
|
|
GENERIC_PARAM,
|
|
GENERIC_PARAM_LIST,
|
|
IDENT_PAT,
|
|
IF_EXPR,
|
|
IMPL,
|
|
IMPL_TRAIT_TYPE,
|
|
INDEX_EXPR,
|
|
INFER_TYPE,
|
|
ITEM,
|
|
ITEM_LIST,
|
|
LABEL,
|
|
LET_ELSE,
|
|
LET_EXPR,
|
|
LET_STMT,
|
|
LIFETIME,
|
|
LIFETIME_ARG,
|
|
LIFETIME_PARAM,
|
|
LITERAL,
|
|
LITERAL_PAT,
|
|
LOOP_EXPR,
|
|
MACRO_CALL,
|
|
MACRO_DEF,
|
|
MACRO_EXPR,
|
|
MACRO_ITEMS,
|
|
MACRO_PAT,
|
|
MACRO_RULES,
|
|
MACRO_STMTS,
|
|
MACRO_TYPE,
|
|
MATCH_ARM,
|
|
MATCH_ARM_LIST,
|
|
MATCH_EXPR,
|
|
MATCH_GUARD,
|
|
META,
|
|
METHOD_CALL_EXPR,
|
|
MODULE,
|
|
NAME,
|
|
NAME_REF,
|
|
NEVER_TYPE,
|
|
OFFSET_OF_EXPR,
|
|
OR_PAT,
|
|
PARAM,
|
|
PARAM_LIST,
|
|
PARENTHESIZED_ARG_LIST,
|
|
PAREN_EXPR,
|
|
PAREN_PAT,
|
|
PAREN_TYPE,
|
|
PAT,
|
|
PATH,
|
|
PATH_EXPR,
|
|
PATH_PAT,
|
|
PATH_SEGMENT,
|
|
PATH_TYPE,
|
|
PREFIX_EXPR,
|
|
PTR_TYPE,
|
|
RANGE_EXPR,
|
|
RANGE_PAT,
|
|
RECORD_EXPR,
|
|
RECORD_EXPR_FIELD,
|
|
RECORD_EXPR_FIELD_LIST,
|
|
RECORD_FIELD,
|
|
RECORD_FIELD_LIST,
|
|
RECORD_PAT,
|
|
RECORD_PAT_FIELD,
|
|
RECORD_PAT_FIELD_LIST,
|
|
REF_EXPR,
|
|
REF_PAT,
|
|
REF_TYPE,
|
|
RENAME,
|
|
REST_PAT,
|
|
RETURN_EXPR,
|
|
RETURN_TYPE_SYNTAX,
|
|
RET_TYPE,
|
|
SELF_PARAM,
|
|
SLICE_PAT,
|
|
SLICE_TYPE,
|
|
SOURCE_FILE,
|
|
STATIC,
|
|
STMT,
|
|
STMT_LIST,
|
|
STRUCT,
|
|
TOKEN_TREE,
|
|
TRAIT,
|
|
TRAIT_ALIAS,
|
|
TRY_EXPR,
|
|
TUPLE_EXPR,
|
|
TUPLE_FIELD,
|
|
TUPLE_FIELD_LIST,
|
|
TUPLE_PAT,
|
|
TUPLE_STRUCT_PAT,
|
|
TUPLE_TYPE,
|
|
TYPE,
|
|
TYPE_ALIAS,
|
|
TYPE_ARG,
|
|
TYPE_BOUND,
|
|
TYPE_BOUND_LIST,
|
|
TYPE_PARAM,
|
|
UNDERSCORE_EXPR,
|
|
UNION,
|
|
USE,
|
|
USE_BOUND_GENERIC_ARG,
|
|
USE_BOUND_GENERIC_ARGS,
|
|
USE_TREE,
|
|
USE_TREE_LIST,
|
|
VARIANT,
|
|
VARIANT_LIST,
|
|
VISIBILITY,
|
|
WHERE_CLAUSE,
|
|
WHERE_PRED,
|
|
WHILE_EXPR,
|
|
WILDCARD_PAT,
|
|
YEET_EXPR,
|
|
YIELD_EXPR,
|
|
<span class="comment">// some variants omitted</span>
|
|
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The kind of syntax node, e.g. <code>IDENT</code>, <code>USE_KW</code>, or <code>STRUCT</code>.</p>
|
|
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.DOLLAR" class="variant"><a href="#variant.DOLLAR" class="anchor">§</a><h3 class="code-header">DOLLAR</h3></section><section id="variant.SEMICOLON" class="variant"><a href="#variant.SEMICOLON" class="anchor">§</a><h3 class="code-header">SEMICOLON</h3></section><section id="variant.COMMA" class="variant"><a href="#variant.COMMA" class="anchor">§</a><h3 class="code-header">COMMA</h3></section><section id="variant.L_PAREN" class="variant"><a href="#variant.L_PAREN" class="anchor">§</a><h3 class="code-header">L_PAREN</h3></section><section id="variant.R_PAREN" class="variant"><a href="#variant.R_PAREN" class="anchor">§</a><h3 class="code-header">R_PAREN</h3></section><section id="variant.L_CURLY" class="variant"><a href="#variant.L_CURLY" class="anchor">§</a><h3 class="code-header">L_CURLY</h3></section><section id="variant.R_CURLY" class="variant"><a href="#variant.R_CURLY" class="anchor">§</a><h3 class="code-header">R_CURLY</h3></section><section id="variant.L_BRACK" class="variant"><a href="#variant.L_BRACK" class="anchor">§</a><h3 class="code-header">L_BRACK</h3></section><section id="variant.R_BRACK" class="variant"><a href="#variant.R_BRACK" class="anchor">§</a><h3 class="code-header">R_BRACK</h3></section><section id="variant.L_ANGLE" class="variant"><a href="#variant.L_ANGLE" class="anchor">§</a><h3 class="code-header">L_ANGLE</h3></section><section id="variant.R_ANGLE" class="variant"><a href="#variant.R_ANGLE" class="anchor">§</a><h3 class="code-header">R_ANGLE</h3></section><section id="variant.AT" class="variant"><a href="#variant.AT" class="anchor">§</a><h3 class="code-header">AT</h3></section><section id="variant.POUND" class="variant"><a href="#variant.POUND" class="anchor">§</a><h3 class="code-header">POUND</h3></section><section id="variant.TILDE" class="variant"><a href="#variant.TILDE" class="anchor">§</a><h3 class="code-header">TILDE</h3></section><section id="variant.QUESTION" class="variant"><a href="#variant.QUESTION" class="anchor">§</a><h3 class="code-header">QUESTION</h3></section><section id="variant.AMP" class="variant"><a href="#variant.AMP" class="anchor">§</a><h3 class="code-header">AMP</h3></section><section id="variant.PIPE" class="variant"><a href="#variant.PIPE" class="anchor">§</a><h3 class="code-header">PIPE</h3></section><section id="variant.PLUS" class="variant"><a href="#variant.PLUS" class="anchor">§</a><h3 class="code-header">PLUS</h3></section><section id="variant.STAR" class="variant"><a href="#variant.STAR" class="anchor">§</a><h3 class="code-header">STAR</h3></section><section id="variant.SLASH" class="variant"><a href="#variant.SLASH" class="anchor">§</a><h3 class="code-header">SLASH</h3></section><section id="variant.CARET" class="variant"><a href="#variant.CARET" class="anchor">§</a><h3 class="code-header">CARET</h3></section><section id="variant.PERCENT" class="variant"><a href="#variant.PERCENT" class="anchor">§</a><h3 class="code-header">PERCENT</h3></section><section id="variant.UNDERSCORE" class="variant"><a href="#variant.UNDERSCORE" class="anchor">§</a><h3 class="code-header">UNDERSCORE</h3></section><section id="variant.DOT" class="variant"><a href="#variant.DOT" class="anchor">§</a><h3 class="code-header">DOT</h3></section><section id="variant.DOT2" class="variant"><a href="#variant.DOT2" class="anchor">§</a><h3 class="code-header">DOT2</h3></section><section id="variant.DOT3" class="variant"><a href="#variant.DOT3" class="anchor">§</a><h3 class="code-header">DOT3</h3></section><section id="variant.DOT2EQ" class="variant"><a href="#variant.DOT2EQ" class="anchor">§</a><h3 class="code-header">DOT2EQ</h3></section><section id="variant.COLON" class="variant"><a href="#variant.COLON" class="anchor">§</a><h3 class="code-header">COLON</h3></section><section id="variant.COLON2" class="variant"><a href="#variant.COLON2" class="anchor">§</a><h3 class="code-header">COLON2</h3></section><section id="variant.EQ" class="variant"><a href="#variant.EQ" class="anchor">§</a><h3 class="code-header">EQ</h3></section><section id="variant.EQ2" class="variant"><a href="#variant.EQ2" class="anchor">§</a><h3 class="code-header">EQ2</h3></section><section id="variant.FAT_ARROW" class="variant"><a href="#variant.FAT_ARROW" class="anchor">§</a><h3 class="code-header">FAT_ARROW</h3></section><section id="variant.BANG" class="variant"><a href="#variant.BANG" class="anchor">§</a><h3 class="code-header">BANG</h3></section><section id="variant.NEQ" class="variant"><a href="#variant.NEQ" class="anchor">§</a><h3 class="code-header">NEQ</h3></section><section id="variant.MINUS" class="variant"><a href="#variant.MINUS" class="anchor">§</a><h3 class="code-header">MINUS</h3></section><section id="variant.THIN_ARROW" class="variant"><a href="#variant.THIN_ARROW" class="anchor">§</a><h3 class="code-header">THIN_ARROW</h3></section><section id="variant.LTEQ" class="variant"><a href="#variant.LTEQ" class="anchor">§</a><h3 class="code-header">LTEQ</h3></section><section id="variant.GTEQ" class="variant"><a href="#variant.GTEQ" class="anchor">§</a><h3 class="code-header">GTEQ</h3></section><section id="variant.PLUSEQ" class="variant"><a href="#variant.PLUSEQ" class="anchor">§</a><h3 class="code-header">PLUSEQ</h3></section><section id="variant.MINUSEQ" class="variant"><a href="#variant.MINUSEQ" class="anchor">§</a><h3 class="code-header">MINUSEQ</h3></section><section id="variant.PIPEEQ" class="variant"><a href="#variant.PIPEEQ" class="anchor">§</a><h3 class="code-header">PIPEEQ</h3></section><section id="variant.AMPEQ" class="variant"><a href="#variant.AMPEQ" class="anchor">§</a><h3 class="code-header">AMPEQ</h3></section><section id="variant.CARETEQ" class="variant"><a href="#variant.CARETEQ" class="anchor">§</a><h3 class="code-header">CARETEQ</h3></section><section id="variant.SLASHEQ" class="variant"><a href="#variant.SLASHEQ" class="anchor">§</a><h3 class="code-header">SLASHEQ</h3></section><section id="variant.STAREQ" class="variant"><a href="#variant.STAREQ" class="anchor">§</a><h3 class="code-header">STAREQ</h3></section><section id="variant.PERCENTEQ" class="variant"><a href="#variant.PERCENTEQ" class="anchor">§</a><h3 class="code-header">PERCENTEQ</h3></section><section id="variant.AMP2" class="variant"><a href="#variant.AMP2" class="anchor">§</a><h3 class="code-header">AMP2</h3></section><section id="variant.PIPE2" class="variant"><a href="#variant.PIPE2" class="anchor">§</a><h3 class="code-header">PIPE2</h3></section><section id="variant.SHL" class="variant"><a href="#variant.SHL" class="anchor">§</a><h3 class="code-header">SHL</h3></section><section id="variant.SHR" class="variant"><a href="#variant.SHR" class="anchor">§</a><h3 class="code-header">SHR</h3></section><section id="variant.SHLEQ" class="variant"><a href="#variant.SHLEQ" class="anchor">§</a><h3 class="code-header">SHLEQ</h3></section><section id="variant.SHREQ" class="variant"><a href="#variant.SHREQ" class="anchor">§</a><h3 class="code-header">SHREQ</h3></section><section id="variant.SELF_TYPE_KW" class="variant"><a href="#variant.SELF_TYPE_KW" class="anchor">§</a><h3 class="code-header">SELF_TYPE_KW</h3></section><section id="variant.ABSTRACT_KW" class="variant"><a href="#variant.ABSTRACT_KW" class="anchor">§</a><h3 class="code-header">ABSTRACT_KW</h3></section><section id="variant.AS_KW" class="variant"><a href="#variant.AS_KW" class="anchor">§</a><h3 class="code-header">AS_KW</h3></section><section id="variant.BECOME_KW" class="variant"><a href="#variant.BECOME_KW" class="anchor">§</a><h3 class="code-header">BECOME_KW</h3></section><section id="variant.BOX_KW" class="variant"><a href="#variant.BOX_KW" class="anchor">§</a><h3 class="code-header">BOX_KW</h3></section><section id="variant.BREAK_KW" class="variant"><a href="#variant.BREAK_KW" class="anchor">§</a><h3 class="code-header">BREAK_KW</h3></section><section id="variant.CONST_KW" class="variant"><a href="#variant.CONST_KW" class="anchor">§</a><h3 class="code-header">CONST_KW</h3></section><section id="variant.CONTINUE_KW" class="variant"><a href="#variant.CONTINUE_KW" class="anchor">§</a><h3 class="code-header">CONTINUE_KW</h3></section><section id="variant.CRATE_KW" class="variant"><a href="#variant.CRATE_KW" class="anchor">§</a><h3 class="code-header">CRATE_KW</h3></section><section id="variant.DO_KW" class="variant"><a href="#variant.DO_KW" class="anchor">§</a><h3 class="code-header">DO_KW</h3></section><section id="variant.ELSE_KW" class="variant"><a href="#variant.ELSE_KW" class="anchor">§</a><h3 class="code-header">ELSE_KW</h3></section><section id="variant.ENUM_KW" class="variant"><a href="#variant.ENUM_KW" class="anchor">§</a><h3 class="code-header">ENUM_KW</h3></section><section id="variant.EXTERN_KW" class="variant"><a href="#variant.EXTERN_KW" class="anchor">§</a><h3 class="code-header">EXTERN_KW</h3></section><section id="variant.FALSE_KW" class="variant"><a href="#variant.FALSE_KW" class="anchor">§</a><h3 class="code-header">FALSE_KW</h3></section><section id="variant.FINAL_KW" class="variant"><a href="#variant.FINAL_KW" class="anchor">§</a><h3 class="code-header">FINAL_KW</h3></section><section id="variant.FN_KW" class="variant"><a href="#variant.FN_KW" class="anchor">§</a><h3 class="code-header">FN_KW</h3></section><section id="variant.FOR_KW" class="variant"><a href="#variant.FOR_KW" class="anchor">§</a><h3 class="code-header">FOR_KW</h3></section><section id="variant.IF_KW" class="variant"><a href="#variant.IF_KW" class="anchor">§</a><h3 class="code-header">IF_KW</h3></section><section id="variant.IMPL_KW" class="variant"><a href="#variant.IMPL_KW" class="anchor">§</a><h3 class="code-header">IMPL_KW</h3></section><section id="variant.IN_KW" class="variant"><a href="#variant.IN_KW" class="anchor">§</a><h3 class="code-header">IN_KW</h3></section><section id="variant.LET_KW" class="variant"><a href="#variant.LET_KW" class="anchor">§</a><h3 class="code-header">LET_KW</h3></section><section id="variant.LOOP_KW" class="variant"><a href="#variant.LOOP_KW" class="anchor">§</a><h3 class="code-header">LOOP_KW</h3></section><section id="variant.MACRO_KW" class="variant"><a href="#variant.MACRO_KW" class="anchor">§</a><h3 class="code-header">MACRO_KW</h3></section><section id="variant.MATCH_KW" class="variant"><a href="#variant.MATCH_KW" class="anchor">§</a><h3 class="code-header">MATCH_KW</h3></section><section id="variant.MOD_KW" class="variant"><a href="#variant.MOD_KW" class="anchor">§</a><h3 class="code-header">MOD_KW</h3></section><section id="variant.MOVE_KW" class="variant"><a href="#variant.MOVE_KW" class="anchor">§</a><h3 class="code-header">MOVE_KW</h3></section><section id="variant.MUT_KW" class="variant"><a href="#variant.MUT_KW" class="anchor">§</a><h3 class="code-header">MUT_KW</h3></section><section id="variant.OVERRIDE_KW" class="variant"><a href="#variant.OVERRIDE_KW" class="anchor">§</a><h3 class="code-header">OVERRIDE_KW</h3></section><section id="variant.PRIV_KW" class="variant"><a href="#variant.PRIV_KW" class="anchor">§</a><h3 class="code-header">PRIV_KW</h3></section><section id="variant.PUB_KW" class="variant"><a href="#variant.PUB_KW" class="anchor">§</a><h3 class="code-header">PUB_KW</h3></section><section id="variant.REF_KW" class="variant"><a href="#variant.REF_KW" class="anchor">§</a><h3 class="code-header">REF_KW</h3></section><section id="variant.RETURN_KW" class="variant"><a href="#variant.RETURN_KW" class="anchor">§</a><h3 class="code-header">RETURN_KW</h3></section><section id="variant.SELF_KW" class="variant"><a href="#variant.SELF_KW" class="anchor">§</a><h3 class="code-header">SELF_KW</h3></section><section id="variant.STATIC_KW" class="variant"><a href="#variant.STATIC_KW" class="anchor">§</a><h3 class="code-header">STATIC_KW</h3></section><section id="variant.STRUCT_KW" class="variant"><a href="#variant.STRUCT_KW" class="anchor">§</a><h3 class="code-header">STRUCT_KW</h3></section><section id="variant.SUPER_KW" class="variant"><a href="#variant.SUPER_KW" class="anchor">§</a><h3 class="code-header">SUPER_KW</h3></section><section id="variant.TRAIT_KW" class="variant"><a href="#variant.TRAIT_KW" class="anchor">§</a><h3 class="code-header">TRAIT_KW</h3></section><section id="variant.TRUE_KW" class="variant"><a href="#variant.TRUE_KW" class="anchor">§</a><h3 class="code-header">TRUE_KW</h3></section><section id="variant.TYPE_KW" class="variant"><a href="#variant.TYPE_KW" class="anchor">§</a><h3 class="code-header">TYPE_KW</h3></section><section id="variant.TYPEOF_KW" class="variant"><a href="#variant.TYPEOF_KW" class="anchor">§</a><h3 class="code-header">TYPEOF_KW</h3></section><section id="variant.UNSAFE_KW" class="variant"><a href="#variant.UNSAFE_KW" class="anchor">§</a><h3 class="code-header">UNSAFE_KW</h3></section><section id="variant.UNSIZED_KW" class="variant"><a href="#variant.UNSIZED_KW" class="anchor">§</a><h3 class="code-header">UNSIZED_KW</h3></section><section id="variant.USE_KW" class="variant"><a href="#variant.USE_KW" class="anchor">§</a><h3 class="code-header">USE_KW</h3></section><section id="variant.VIRTUAL_KW" class="variant"><a href="#variant.VIRTUAL_KW" class="anchor">§</a><h3 class="code-header">VIRTUAL_KW</h3></section><section id="variant.WHERE_KW" class="variant"><a href="#variant.WHERE_KW" class="anchor">§</a><h3 class="code-header">WHERE_KW</h3></section><section id="variant.WHILE_KW" class="variant"><a href="#variant.WHILE_KW" class="anchor">§</a><h3 class="code-header">WHILE_KW</h3></section><section id="variant.YIELD_KW" class="variant"><a href="#variant.YIELD_KW" class="anchor">§</a><h3 class="code-header">YIELD_KW</h3></section><section id="variant.ASM_KW" class="variant"><a href="#variant.ASM_KW" class="anchor">§</a><h3 class="code-header">ASM_KW</h3></section><section id="variant.ASYNC_KW" class="variant"><a href="#variant.ASYNC_KW" class="anchor">§</a><h3 class="code-header">ASYNC_KW</h3></section><section id="variant.ATT_SYNTAX_KW" class="variant"><a href="#variant.ATT_SYNTAX_KW" class="anchor">§</a><h3 class="code-header">ATT_SYNTAX_KW</h3></section><section id="variant.AUTO_KW" class="variant"><a href="#variant.AUTO_KW" class="anchor">§</a><h3 class="code-header">AUTO_KW</h3></section><section id="variant.AWAIT_KW" class="variant"><a href="#variant.AWAIT_KW" class="anchor">§</a><h3 class="code-header">AWAIT_KW</h3></section><section id="variant.BUILTIN_KW" class="variant"><a href="#variant.BUILTIN_KW" class="anchor">§</a><h3 class="code-header">BUILTIN_KW</h3></section><section id="variant.CLOBBER_ABI_KW" class="variant"><a href="#variant.CLOBBER_ABI_KW" class="anchor">§</a><h3 class="code-header">CLOBBER_ABI_KW</h3></section><section id="variant.DEFAULT_KW" class="variant"><a href="#variant.DEFAULT_KW" class="anchor">§</a><h3 class="code-header">DEFAULT_KW</h3></section><section id="variant.DYN_KW" class="variant"><a href="#variant.DYN_KW" class="anchor">§</a><h3 class="code-header">DYN_KW</h3></section><section id="variant.FORMAT_ARGS_KW" class="variant"><a href="#variant.FORMAT_ARGS_KW" class="anchor">§</a><h3 class="code-header">FORMAT_ARGS_KW</h3></section><section id="variant.GEN_KW" class="variant"><a href="#variant.GEN_KW" class="anchor">§</a><h3 class="code-header">GEN_KW</h3></section><section id="variant.INLATEOUT_KW" class="variant"><a href="#variant.INLATEOUT_KW" class="anchor">§</a><h3 class="code-header">INLATEOUT_KW</h3></section><section id="variant.INOUT_KW" class="variant"><a href="#variant.INOUT_KW" class="anchor">§</a><h3 class="code-header">INOUT_KW</h3></section><section id="variant.LABEL_KW" class="variant"><a href="#variant.LABEL_KW" class="anchor">§</a><h3 class="code-header">LABEL_KW</h3></section><section id="variant.LATEOUT_KW" class="variant"><a href="#variant.LATEOUT_KW" class="anchor">§</a><h3 class="code-header">LATEOUT_KW</h3></section><section id="variant.MACRO_RULES_KW" class="variant"><a href="#variant.MACRO_RULES_KW" class="anchor">§</a><h3 class="code-header">MACRO_RULES_KW</h3></section><section id="variant.MAY_UNWIND_KW" class="variant"><a href="#variant.MAY_UNWIND_KW" class="anchor">§</a><h3 class="code-header">MAY_UNWIND_KW</h3></section><section id="variant.NOMEM_KW" class="variant"><a href="#variant.NOMEM_KW" class="anchor">§</a><h3 class="code-header">NOMEM_KW</h3></section><section id="variant.NORETURN_KW" class="variant"><a href="#variant.NORETURN_KW" class="anchor">§</a><h3 class="code-header">NORETURN_KW</h3></section><section id="variant.NOSTACK_KW" class="variant"><a href="#variant.NOSTACK_KW" class="anchor">§</a><h3 class="code-header">NOSTACK_KW</h3></section><section id="variant.OFFSET_OF_KW" class="variant"><a href="#variant.OFFSET_OF_KW" class="anchor">§</a><h3 class="code-header">OFFSET_OF_KW</h3></section><section id="variant.OPTIONS_KW" class="variant"><a href="#variant.OPTIONS_KW" class="anchor">§</a><h3 class="code-header">OPTIONS_KW</h3></section><section id="variant.OUT_KW" class="variant"><a href="#variant.OUT_KW" class="anchor">§</a><h3 class="code-header">OUT_KW</h3></section><section id="variant.PRESERVES_FLAGS_KW" class="variant"><a href="#variant.PRESERVES_FLAGS_KW" class="anchor">§</a><h3 class="code-header">PRESERVES_FLAGS_KW</h3></section><section id="variant.PURE_KW" class="variant"><a href="#variant.PURE_KW" class="anchor">§</a><h3 class="code-header">PURE_KW</h3></section><section id="variant.RAW_KW" class="variant"><a href="#variant.RAW_KW" class="anchor">§</a><h3 class="code-header">RAW_KW</h3></section><section id="variant.READONLY_KW" class="variant"><a href="#variant.READONLY_KW" class="anchor">§</a><h3 class="code-header">READONLY_KW</h3></section><section id="variant.SAFE_KW" class="variant"><a href="#variant.SAFE_KW" class="anchor">§</a><h3 class="code-header">SAFE_KW</h3></section><section id="variant.SYM_KW" class="variant"><a href="#variant.SYM_KW" class="anchor">§</a><h3 class="code-header">SYM_KW</h3></section><section id="variant.TRY_KW" class="variant"><a href="#variant.TRY_KW" class="anchor">§</a><h3 class="code-header">TRY_KW</h3></section><section id="variant.UNION_KW" class="variant"><a href="#variant.UNION_KW" class="anchor">§</a><h3 class="code-header">UNION_KW</h3></section><section id="variant.YEET_KW" class="variant"><a href="#variant.YEET_KW" class="anchor">§</a><h3 class="code-header">YEET_KW</h3></section><section id="variant.BYTE" class="variant"><a href="#variant.BYTE" class="anchor">§</a><h3 class="code-header">BYTE</h3></section><section id="variant.BYTE_STRING" class="variant"><a href="#variant.BYTE_STRING" class="anchor">§</a><h3 class="code-header">BYTE_STRING</h3></section><section id="variant.CHAR" class="variant"><a href="#variant.CHAR" class="anchor">§</a><h3 class="code-header">CHAR</h3></section><section id="variant.C_STRING" class="variant"><a href="#variant.C_STRING" class="anchor">§</a><h3 class="code-header">C_STRING</h3></section><section id="variant.FLOAT_NUMBER" class="variant"><a href="#variant.FLOAT_NUMBER" class="anchor">§</a><h3 class="code-header">FLOAT_NUMBER</h3></section><section id="variant.INT_NUMBER" class="variant"><a href="#variant.INT_NUMBER" class="anchor">§</a><h3 class="code-header">INT_NUMBER</h3></section><section id="variant.RAW_BYTE_STRING" class="variant"><a href="#variant.RAW_BYTE_STRING" class="anchor">§</a><h3 class="code-header">RAW_BYTE_STRING</h3></section><section id="variant.RAW_C_STRING" class="variant"><a href="#variant.RAW_C_STRING" class="anchor">§</a><h3 class="code-header">RAW_C_STRING</h3></section><section id="variant.RAW_STRING" class="variant"><a href="#variant.RAW_STRING" class="anchor">§</a><h3 class="code-header">RAW_STRING</h3></section><section id="variant.STRING" class="variant"><a href="#variant.STRING" class="anchor">§</a><h3 class="code-header">STRING</h3></section><section id="variant.COMMENT" class="variant"><a href="#variant.COMMENT" class="anchor">§</a><h3 class="code-header">COMMENT</h3></section><section id="variant.ERROR" class="variant"><a href="#variant.ERROR" class="anchor">§</a><h3 class="code-header">ERROR</h3></section><section id="variant.IDENT" class="variant"><a href="#variant.IDENT" class="anchor">§</a><h3 class="code-header">IDENT</h3></section><section id="variant.LIFETIME_IDENT" class="variant"><a href="#variant.LIFETIME_IDENT" class="anchor">§</a><h3 class="code-header">LIFETIME_IDENT</h3></section><section id="variant.NEWLINE" class="variant"><a href="#variant.NEWLINE" class="anchor">§</a><h3 class="code-header">NEWLINE</h3></section><section id="variant.SHEBANG" class="variant"><a href="#variant.SHEBANG" class="anchor">§</a><h3 class="code-header">SHEBANG</h3></section><section id="variant.WHITESPACE" class="variant"><a href="#variant.WHITESPACE" class="anchor">§</a><h3 class="code-header">WHITESPACE</h3></section><section id="variant.ABI" class="variant"><a href="#variant.ABI" class="anchor">§</a><h3 class="code-header">ABI</h3></section><section id="variant.ADT" class="variant"><a href="#variant.ADT" class="anchor">§</a><h3 class="code-header">ADT</h3></section><section id="variant.ARG_LIST" class="variant"><a href="#variant.ARG_LIST" class="anchor">§</a><h3 class="code-header">ARG_LIST</h3></section><section id="variant.ARRAY_EXPR" class="variant"><a href="#variant.ARRAY_EXPR" class="anchor">§</a><h3 class="code-header">ARRAY_EXPR</h3></section><section id="variant.ARRAY_TYPE" class="variant"><a href="#variant.ARRAY_TYPE" class="anchor">§</a><h3 class="code-header">ARRAY_TYPE</h3></section><section id="variant.ASM_CLOBBER_ABI" class="variant"><a href="#variant.ASM_CLOBBER_ABI" class="anchor">§</a><h3 class="code-header">ASM_CLOBBER_ABI</h3></section><section id="variant.ASM_CONST" class="variant"><a href="#variant.ASM_CONST" class="anchor">§</a><h3 class="code-header">ASM_CONST</h3></section><section id="variant.ASM_DIR_SPEC" class="variant"><a href="#variant.ASM_DIR_SPEC" class="anchor">§</a><h3 class="code-header">ASM_DIR_SPEC</h3></section><section id="variant.ASM_EXPR" class="variant"><a href="#variant.ASM_EXPR" class="anchor">§</a><h3 class="code-header">ASM_EXPR</h3></section><section id="variant.ASM_LABEL" class="variant"><a href="#variant.ASM_LABEL" class="anchor">§</a><h3 class="code-header">ASM_LABEL</h3></section><section id="variant.ASM_OPERAND" class="variant"><a href="#variant.ASM_OPERAND" class="anchor">§</a><h3 class="code-header">ASM_OPERAND</h3></section><section id="variant.ASM_OPERAND_EXPR" class="variant"><a href="#variant.ASM_OPERAND_EXPR" class="anchor">§</a><h3 class="code-header">ASM_OPERAND_EXPR</h3></section><section id="variant.ASM_OPERAND_NAMED" class="variant"><a href="#variant.ASM_OPERAND_NAMED" class="anchor">§</a><h3 class="code-header">ASM_OPERAND_NAMED</h3></section><section id="variant.ASM_OPTION" class="variant"><a href="#variant.ASM_OPTION" class="anchor">§</a><h3 class="code-header">ASM_OPTION</h3></section><section id="variant.ASM_OPTIONS" class="variant"><a href="#variant.ASM_OPTIONS" class="anchor">§</a><h3 class="code-header">ASM_OPTIONS</h3></section><section id="variant.ASM_PIECE" class="variant"><a href="#variant.ASM_PIECE" class="anchor">§</a><h3 class="code-header">ASM_PIECE</h3></section><section id="variant.ASM_REG_OPERAND" class="variant"><a href="#variant.ASM_REG_OPERAND" class="anchor">§</a><h3 class="code-header">ASM_REG_OPERAND</h3></section><section id="variant.ASM_REG_SPEC" class="variant"><a href="#variant.ASM_REG_SPEC" class="anchor">§</a><h3 class="code-header">ASM_REG_SPEC</h3></section><section id="variant.ASM_SYM" class="variant"><a href="#variant.ASM_SYM" class="anchor">§</a><h3 class="code-header">ASM_SYM</h3></section><section id="variant.ASSOC_ITEM" class="variant"><a href="#variant.ASSOC_ITEM" class="anchor">§</a><h3 class="code-header">ASSOC_ITEM</h3></section><section id="variant.ASSOC_ITEM_LIST" class="variant"><a href="#variant.ASSOC_ITEM_LIST" class="anchor">§</a><h3 class="code-header">ASSOC_ITEM_LIST</h3></section><section id="variant.ASSOC_TYPE_ARG" class="variant"><a href="#variant.ASSOC_TYPE_ARG" class="anchor">§</a><h3 class="code-header">ASSOC_TYPE_ARG</h3></section><section id="variant.ATTR" class="variant"><a href="#variant.ATTR" class="anchor">§</a><h3 class="code-header">ATTR</h3></section><section id="variant.AWAIT_EXPR" class="variant"><a href="#variant.AWAIT_EXPR" class="anchor">§</a><h3 class="code-header">AWAIT_EXPR</h3></section><section id="variant.BECOME_EXPR" class="variant"><a href="#variant.BECOME_EXPR" class="anchor">§</a><h3 class="code-header">BECOME_EXPR</h3></section><section id="variant.BIN_EXPR" class="variant"><a href="#variant.BIN_EXPR" class="anchor">§</a><h3 class="code-header">BIN_EXPR</h3></section><section id="variant.BLOCK_EXPR" class="variant"><a href="#variant.BLOCK_EXPR" class="anchor">§</a><h3 class="code-header">BLOCK_EXPR</h3></section><section id="variant.BOX_PAT" class="variant"><a href="#variant.BOX_PAT" class="anchor">§</a><h3 class="code-header">BOX_PAT</h3></section><section id="variant.BREAK_EXPR" class="variant"><a href="#variant.BREAK_EXPR" class="anchor">§</a><h3 class="code-header">BREAK_EXPR</h3></section><section id="variant.CALL_EXPR" class="variant"><a href="#variant.CALL_EXPR" class="anchor">§</a><h3 class="code-header">CALL_EXPR</h3></section><section id="variant.CAST_EXPR" class="variant"><a href="#variant.CAST_EXPR" class="anchor">§</a><h3 class="code-header">CAST_EXPR</h3></section><section id="variant.CLOSURE_BINDER" class="variant"><a href="#variant.CLOSURE_BINDER" class="anchor">§</a><h3 class="code-header">CLOSURE_BINDER</h3></section><section id="variant.CLOSURE_EXPR" class="variant"><a href="#variant.CLOSURE_EXPR" class="anchor">§</a><h3 class="code-header">CLOSURE_EXPR</h3></section><section id="variant.CONST" class="variant"><a href="#variant.CONST" class="anchor">§</a><h3 class="code-header">CONST</h3></section><section id="variant.CONST_ARG" class="variant"><a href="#variant.CONST_ARG" class="anchor">§</a><h3 class="code-header">CONST_ARG</h3></section><section id="variant.CONST_BLOCK_PAT" class="variant"><a href="#variant.CONST_BLOCK_PAT" class="anchor">§</a><h3 class="code-header">CONST_BLOCK_PAT</h3></section><section id="variant.CONST_PARAM" class="variant"><a href="#variant.CONST_PARAM" class="anchor">§</a><h3 class="code-header">CONST_PARAM</h3></section><section id="variant.CONTINUE_EXPR" class="variant"><a href="#variant.CONTINUE_EXPR" class="anchor">§</a><h3 class="code-header">CONTINUE_EXPR</h3></section><section id="variant.DYN_TRAIT_TYPE" class="variant"><a href="#variant.DYN_TRAIT_TYPE" class="anchor">§</a><h3 class="code-header">DYN_TRAIT_TYPE</h3></section><section id="variant.ENUM" class="variant"><a href="#variant.ENUM" class="anchor">§</a><h3 class="code-header">ENUM</h3></section><section id="variant.EXPR" class="variant"><a href="#variant.EXPR" class="anchor">§</a><h3 class="code-header">EXPR</h3></section><section id="variant.EXPR_STMT" class="variant"><a href="#variant.EXPR_STMT" class="anchor">§</a><h3 class="code-header">EXPR_STMT</h3></section><section id="variant.EXTERN_BLOCK" class="variant"><a href="#variant.EXTERN_BLOCK" class="anchor">§</a><h3 class="code-header">EXTERN_BLOCK</h3></section><section id="variant.EXTERN_CRATE" class="variant"><a href="#variant.EXTERN_CRATE" class="anchor">§</a><h3 class="code-header">EXTERN_CRATE</h3></section><section id="variant.EXTERN_ITEM" class="variant"><a href="#variant.EXTERN_ITEM" class="anchor">§</a><h3 class="code-header">EXTERN_ITEM</h3></section><section id="variant.EXTERN_ITEM_LIST" class="variant"><a href="#variant.EXTERN_ITEM_LIST" class="anchor">§</a><h3 class="code-header">EXTERN_ITEM_LIST</h3></section><section id="variant.FIELD_EXPR" class="variant"><a href="#variant.FIELD_EXPR" class="anchor">§</a><h3 class="code-header">FIELD_EXPR</h3></section><section id="variant.FIELD_LIST" class="variant"><a href="#variant.FIELD_LIST" class="anchor">§</a><h3 class="code-header">FIELD_LIST</h3></section><section id="variant.FN" class="variant"><a href="#variant.FN" class="anchor">§</a><h3 class="code-header">FN</h3></section><section id="variant.FN_PTR_TYPE" class="variant"><a href="#variant.FN_PTR_TYPE" class="anchor">§</a><h3 class="code-header">FN_PTR_TYPE</h3></section><section id="variant.FORMAT_ARGS_ARG" class="variant"><a href="#variant.FORMAT_ARGS_ARG" class="anchor">§</a><h3 class="code-header">FORMAT_ARGS_ARG</h3></section><section id="variant.FORMAT_ARGS_EXPR" class="variant"><a href="#variant.FORMAT_ARGS_EXPR" class="anchor">§</a><h3 class="code-header">FORMAT_ARGS_EXPR</h3></section><section id="variant.FOR_EXPR" class="variant"><a href="#variant.FOR_EXPR" class="anchor">§</a><h3 class="code-header">FOR_EXPR</h3></section><section id="variant.FOR_TYPE" class="variant"><a href="#variant.FOR_TYPE" class="anchor">§</a><h3 class="code-header">FOR_TYPE</h3></section><section id="variant.GENERIC_ARG" class="variant"><a href="#variant.GENERIC_ARG" class="anchor">§</a><h3 class="code-header">GENERIC_ARG</h3></section><section id="variant.GENERIC_ARG_LIST" class="variant"><a href="#variant.GENERIC_ARG_LIST" class="anchor">§</a><h3 class="code-header">GENERIC_ARG_LIST</h3></section><section id="variant.GENERIC_PARAM" class="variant"><a href="#variant.GENERIC_PARAM" class="anchor">§</a><h3 class="code-header">GENERIC_PARAM</h3></section><section id="variant.GENERIC_PARAM_LIST" class="variant"><a href="#variant.GENERIC_PARAM_LIST" class="anchor">§</a><h3 class="code-header">GENERIC_PARAM_LIST</h3></section><section id="variant.IDENT_PAT" class="variant"><a href="#variant.IDENT_PAT" class="anchor">§</a><h3 class="code-header">IDENT_PAT</h3></section><section id="variant.IF_EXPR" class="variant"><a href="#variant.IF_EXPR" class="anchor">§</a><h3 class="code-header">IF_EXPR</h3></section><section id="variant.IMPL" class="variant"><a href="#variant.IMPL" class="anchor">§</a><h3 class="code-header">IMPL</h3></section><section id="variant.IMPL_TRAIT_TYPE" class="variant"><a href="#variant.IMPL_TRAIT_TYPE" class="anchor">§</a><h3 class="code-header">IMPL_TRAIT_TYPE</h3></section><section id="variant.INDEX_EXPR" class="variant"><a href="#variant.INDEX_EXPR" class="anchor">§</a><h3 class="code-header">INDEX_EXPR</h3></section><section id="variant.INFER_TYPE" class="variant"><a href="#variant.INFER_TYPE" class="anchor">§</a><h3 class="code-header">INFER_TYPE</h3></section><section id="variant.ITEM" class="variant"><a href="#variant.ITEM" class="anchor">§</a><h3 class="code-header">ITEM</h3></section><section id="variant.ITEM_LIST" class="variant"><a href="#variant.ITEM_LIST" class="anchor">§</a><h3 class="code-header">ITEM_LIST</h3></section><section id="variant.LABEL" class="variant"><a href="#variant.LABEL" class="anchor">§</a><h3 class="code-header">LABEL</h3></section><section id="variant.LET_ELSE" class="variant"><a href="#variant.LET_ELSE" class="anchor">§</a><h3 class="code-header">LET_ELSE</h3></section><section id="variant.LET_EXPR" class="variant"><a href="#variant.LET_EXPR" class="anchor">§</a><h3 class="code-header">LET_EXPR</h3></section><section id="variant.LET_STMT" class="variant"><a href="#variant.LET_STMT" class="anchor">§</a><h3 class="code-header">LET_STMT</h3></section><section id="variant.LIFETIME" class="variant"><a href="#variant.LIFETIME" class="anchor">§</a><h3 class="code-header">LIFETIME</h3></section><section id="variant.LIFETIME_ARG" class="variant"><a href="#variant.LIFETIME_ARG" class="anchor">§</a><h3 class="code-header">LIFETIME_ARG</h3></section><section id="variant.LIFETIME_PARAM" class="variant"><a href="#variant.LIFETIME_PARAM" class="anchor">§</a><h3 class="code-header">LIFETIME_PARAM</h3></section><section id="variant.LITERAL" class="variant"><a href="#variant.LITERAL" class="anchor">§</a><h3 class="code-header">LITERAL</h3></section><section id="variant.LITERAL_PAT" class="variant"><a href="#variant.LITERAL_PAT" class="anchor">§</a><h3 class="code-header">LITERAL_PAT</h3></section><section id="variant.LOOP_EXPR" class="variant"><a href="#variant.LOOP_EXPR" class="anchor">§</a><h3 class="code-header">LOOP_EXPR</h3></section><section id="variant.MACRO_CALL" class="variant"><a href="#variant.MACRO_CALL" class="anchor">§</a><h3 class="code-header">MACRO_CALL</h3></section><section id="variant.MACRO_DEF" class="variant"><a href="#variant.MACRO_DEF" class="anchor">§</a><h3 class="code-header">MACRO_DEF</h3></section><section id="variant.MACRO_EXPR" class="variant"><a href="#variant.MACRO_EXPR" class="anchor">§</a><h3 class="code-header">MACRO_EXPR</h3></section><section id="variant.MACRO_ITEMS" class="variant"><a href="#variant.MACRO_ITEMS" class="anchor">§</a><h3 class="code-header">MACRO_ITEMS</h3></section><section id="variant.MACRO_PAT" class="variant"><a href="#variant.MACRO_PAT" class="anchor">§</a><h3 class="code-header">MACRO_PAT</h3></section><section id="variant.MACRO_RULES" class="variant"><a href="#variant.MACRO_RULES" class="anchor">§</a><h3 class="code-header">MACRO_RULES</h3></section><section id="variant.MACRO_STMTS" class="variant"><a href="#variant.MACRO_STMTS" class="anchor">§</a><h3 class="code-header">MACRO_STMTS</h3></section><section id="variant.MACRO_TYPE" class="variant"><a href="#variant.MACRO_TYPE" class="anchor">§</a><h3 class="code-header">MACRO_TYPE</h3></section><section id="variant.MATCH_ARM" class="variant"><a href="#variant.MATCH_ARM" class="anchor">§</a><h3 class="code-header">MATCH_ARM</h3></section><section id="variant.MATCH_ARM_LIST" class="variant"><a href="#variant.MATCH_ARM_LIST" class="anchor">§</a><h3 class="code-header">MATCH_ARM_LIST</h3></section><section id="variant.MATCH_EXPR" class="variant"><a href="#variant.MATCH_EXPR" class="anchor">§</a><h3 class="code-header">MATCH_EXPR</h3></section><section id="variant.MATCH_GUARD" class="variant"><a href="#variant.MATCH_GUARD" class="anchor">§</a><h3 class="code-header">MATCH_GUARD</h3></section><section id="variant.META" class="variant"><a href="#variant.META" class="anchor">§</a><h3 class="code-header">META</h3></section><section id="variant.METHOD_CALL_EXPR" class="variant"><a href="#variant.METHOD_CALL_EXPR" class="anchor">§</a><h3 class="code-header">METHOD_CALL_EXPR</h3></section><section id="variant.MODULE" class="variant"><a href="#variant.MODULE" class="anchor">§</a><h3 class="code-header">MODULE</h3></section><section id="variant.NAME" class="variant"><a href="#variant.NAME" class="anchor">§</a><h3 class="code-header">NAME</h3></section><section id="variant.NAME_REF" class="variant"><a href="#variant.NAME_REF" class="anchor">§</a><h3 class="code-header">NAME_REF</h3></section><section id="variant.NEVER_TYPE" class="variant"><a href="#variant.NEVER_TYPE" class="anchor">§</a><h3 class="code-header">NEVER_TYPE</h3></section><section id="variant.OFFSET_OF_EXPR" class="variant"><a href="#variant.OFFSET_OF_EXPR" class="anchor">§</a><h3 class="code-header">OFFSET_OF_EXPR</h3></section><section id="variant.OR_PAT" class="variant"><a href="#variant.OR_PAT" class="anchor">§</a><h3 class="code-header">OR_PAT</h3></section><section id="variant.PARAM" class="variant"><a href="#variant.PARAM" class="anchor">§</a><h3 class="code-header">PARAM</h3></section><section id="variant.PARAM_LIST" class="variant"><a href="#variant.PARAM_LIST" class="anchor">§</a><h3 class="code-header">PARAM_LIST</h3></section><section id="variant.PARENTHESIZED_ARG_LIST" class="variant"><a href="#variant.PARENTHESIZED_ARG_LIST" class="anchor">§</a><h3 class="code-header">PARENTHESIZED_ARG_LIST</h3></section><section id="variant.PAREN_EXPR" class="variant"><a href="#variant.PAREN_EXPR" class="anchor">§</a><h3 class="code-header">PAREN_EXPR</h3></section><section id="variant.PAREN_PAT" class="variant"><a href="#variant.PAREN_PAT" class="anchor">§</a><h3 class="code-header">PAREN_PAT</h3></section><section id="variant.PAREN_TYPE" class="variant"><a href="#variant.PAREN_TYPE" class="anchor">§</a><h3 class="code-header">PAREN_TYPE</h3></section><section id="variant.PAT" class="variant"><a href="#variant.PAT" class="anchor">§</a><h3 class="code-header">PAT</h3></section><section id="variant.PATH" class="variant"><a href="#variant.PATH" class="anchor">§</a><h3 class="code-header">PATH</h3></section><section id="variant.PATH_EXPR" class="variant"><a href="#variant.PATH_EXPR" class="anchor">§</a><h3 class="code-header">PATH_EXPR</h3></section><section id="variant.PATH_PAT" class="variant"><a href="#variant.PATH_PAT" class="anchor">§</a><h3 class="code-header">PATH_PAT</h3></section><section id="variant.PATH_SEGMENT" class="variant"><a href="#variant.PATH_SEGMENT" class="anchor">§</a><h3 class="code-header">PATH_SEGMENT</h3></section><section id="variant.PATH_TYPE" class="variant"><a href="#variant.PATH_TYPE" class="anchor">§</a><h3 class="code-header">PATH_TYPE</h3></section><section id="variant.PREFIX_EXPR" class="variant"><a href="#variant.PREFIX_EXPR" class="anchor">§</a><h3 class="code-header">PREFIX_EXPR</h3></section><section id="variant.PTR_TYPE" class="variant"><a href="#variant.PTR_TYPE" class="anchor">§</a><h3 class="code-header">PTR_TYPE</h3></section><section id="variant.RANGE_EXPR" class="variant"><a href="#variant.RANGE_EXPR" class="anchor">§</a><h3 class="code-header">RANGE_EXPR</h3></section><section id="variant.RANGE_PAT" class="variant"><a href="#variant.RANGE_PAT" class="anchor">§</a><h3 class="code-header">RANGE_PAT</h3></section><section id="variant.RECORD_EXPR" class="variant"><a href="#variant.RECORD_EXPR" class="anchor">§</a><h3 class="code-header">RECORD_EXPR</h3></section><section id="variant.RECORD_EXPR_FIELD" class="variant"><a href="#variant.RECORD_EXPR_FIELD" class="anchor">§</a><h3 class="code-header">RECORD_EXPR_FIELD</h3></section><section id="variant.RECORD_EXPR_FIELD_LIST" class="variant"><a href="#variant.RECORD_EXPR_FIELD_LIST" class="anchor">§</a><h3 class="code-header">RECORD_EXPR_FIELD_LIST</h3></section><section id="variant.RECORD_FIELD" class="variant"><a href="#variant.RECORD_FIELD" class="anchor">§</a><h3 class="code-header">RECORD_FIELD</h3></section><section id="variant.RECORD_FIELD_LIST" class="variant"><a href="#variant.RECORD_FIELD_LIST" class="anchor">§</a><h3 class="code-header">RECORD_FIELD_LIST</h3></section><section id="variant.RECORD_PAT" class="variant"><a href="#variant.RECORD_PAT" class="anchor">§</a><h3 class="code-header">RECORD_PAT</h3></section><section id="variant.RECORD_PAT_FIELD" class="variant"><a href="#variant.RECORD_PAT_FIELD" class="anchor">§</a><h3 class="code-header">RECORD_PAT_FIELD</h3></section><section id="variant.RECORD_PAT_FIELD_LIST" class="variant"><a href="#variant.RECORD_PAT_FIELD_LIST" class="anchor">§</a><h3 class="code-header">RECORD_PAT_FIELD_LIST</h3></section><section id="variant.REF_EXPR" class="variant"><a href="#variant.REF_EXPR" class="anchor">§</a><h3 class="code-header">REF_EXPR</h3></section><section id="variant.REF_PAT" class="variant"><a href="#variant.REF_PAT" class="anchor">§</a><h3 class="code-header">REF_PAT</h3></section><section id="variant.REF_TYPE" class="variant"><a href="#variant.REF_TYPE" class="anchor">§</a><h3 class="code-header">REF_TYPE</h3></section><section id="variant.RENAME" class="variant"><a href="#variant.RENAME" class="anchor">§</a><h3 class="code-header">RENAME</h3></section><section id="variant.REST_PAT" class="variant"><a href="#variant.REST_PAT" class="anchor">§</a><h3 class="code-header">REST_PAT</h3></section><section id="variant.RETURN_EXPR" class="variant"><a href="#variant.RETURN_EXPR" class="anchor">§</a><h3 class="code-header">RETURN_EXPR</h3></section><section id="variant.RETURN_TYPE_SYNTAX" class="variant"><a href="#variant.RETURN_TYPE_SYNTAX" class="anchor">§</a><h3 class="code-header">RETURN_TYPE_SYNTAX</h3></section><section id="variant.RET_TYPE" class="variant"><a href="#variant.RET_TYPE" class="anchor">§</a><h3 class="code-header">RET_TYPE</h3></section><section id="variant.SELF_PARAM" class="variant"><a href="#variant.SELF_PARAM" class="anchor">§</a><h3 class="code-header">SELF_PARAM</h3></section><section id="variant.SLICE_PAT" class="variant"><a href="#variant.SLICE_PAT" class="anchor">§</a><h3 class="code-header">SLICE_PAT</h3></section><section id="variant.SLICE_TYPE" class="variant"><a href="#variant.SLICE_TYPE" class="anchor">§</a><h3 class="code-header">SLICE_TYPE</h3></section><section id="variant.SOURCE_FILE" class="variant"><a href="#variant.SOURCE_FILE" class="anchor">§</a><h3 class="code-header">SOURCE_FILE</h3></section><section id="variant.STATIC" class="variant"><a href="#variant.STATIC" class="anchor">§</a><h3 class="code-header">STATIC</h3></section><section id="variant.STMT" class="variant"><a href="#variant.STMT" class="anchor">§</a><h3 class="code-header">STMT</h3></section><section id="variant.STMT_LIST" class="variant"><a href="#variant.STMT_LIST" class="anchor">§</a><h3 class="code-header">STMT_LIST</h3></section><section id="variant.STRUCT" class="variant"><a href="#variant.STRUCT" class="anchor">§</a><h3 class="code-header">STRUCT</h3></section><section id="variant.TOKEN_TREE" class="variant"><a href="#variant.TOKEN_TREE" class="anchor">§</a><h3 class="code-header">TOKEN_TREE</h3></section><section id="variant.TRAIT" class="variant"><a href="#variant.TRAIT" class="anchor">§</a><h3 class="code-header">TRAIT</h3></section><section id="variant.TRAIT_ALIAS" class="variant"><a href="#variant.TRAIT_ALIAS" class="anchor">§</a><h3 class="code-header">TRAIT_ALIAS</h3></section><section id="variant.TRY_EXPR" class="variant"><a href="#variant.TRY_EXPR" class="anchor">§</a><h3 class="code-header">TRY_EXPR</h3></section><section id="variant.TUPLE_EXPR" class="variant"><a href="#variant.TUPLE_EXPR" class="anchor">§</a><h3 class="code-header">TUPLE_EXPR</h3></section><section id="variant.TUPLE_FIELD" class="variant"><a href="#variant.TUPLE_FIELD" class="anchor">§</a><h3 class="code-header">TUPLE_FIELD</h3></section><section id="variant.TUPLE_FIELD_LIST" class="variant"><a href="#variant.TUPLE_FIELD_LIST" class="anchor">§</a><h3 class="code-header">TUPLE_FIELD_LIST</h3></section><section id="variant.TUPLE_PAT" class="variant"><a href="#variant.TUPLE_PAT" class="anchor">§</a><h3 class="code-header">TUPLE_PAT</h3></section><section id="variant.TUPLE_STRUCT_PAT" class="variant"><a href="#variant.TUPLE_STRUCT_PAT" class="anchor">§</a><h3 class="code-header">TUPLE_STRUCT_PAT</h3></section><section id="variant.TUPLE_TYPE" class="variant"><a href="#variant.TUPLE_TYPE" class="anchor">§</a><h3 class="code-header">TUPLE_TYPE</h3></section><section id="variant.TYPE" class="variant"><a href="#variant.TYPE" class="anchor">§</a><h3 class="code-header">TYPE</h3></section><section id="variant.TYPE_ALIAS" class="variant"><a href="#variant.TYPE_ALIAS" class="anchor">§</a><h3 class="code-header">TYPE_ALIAS</h3></section><section id="variant.TYPE_ARG" class="variant"><a href="#variant.TYPE_ARG" class="anchor">§</a><h3 class="code-header">TYPE_ARG</h3></section><section id="variant.TYPE_BOUND" class="variant"><a href="#variant.TYPE_BOUND" class="anchor">§</a><h3 class="code-header">TYPE_BOUND</h3></section><section id="variant.TYPE_BOUND_LIST" class="variant"><a href="#variant.TYPE_BOUND_LIST" class="anchor">§</a><h3 class="code-header">TYPE_BOUND_LIST</h3></section><section id="variant.TYPE_PARAM" class="variant"><a href="#variant.TYPE_PARAM" class="anchor">§</a><h3 class="code-header">TYPE_PARAM</h3></section><section id="variant.UNDERSCORE_EXPR" class="variant"><a href="#variant.UNDERSCORE_EXPR" class="anchor">§</a><h3 class="code-header">UNDERSCORE_EXPR</h3></section><section id="variant.UNION" class="variant"><a href="#variant.UNION" class="anchor">§</a><h3 class="code-header">UNION</h3></section><section id="variant.USE" class="variant"><a href="#variant.USE" class="anchor">§</a><h3 class="code-header">USE</h3></section><section id="variant.USE_BOUND_GENERIC_ARG" class="variant"><a href="#variant.USE_BOUND_GENERIC_ARG" class="anchor">§</a><h3 class="code-header">USE_BOUND_GENERIC_ARG</h3></section><section id="variant.USE_BOUND_GENERIC_ARGS" class="variant"><a href="#variant.USE_BOUND_GENERIC_ARGS" class="anchor">§</a><h3 class="code-header">USE_BOUND_GENERIC_ARGS</h3></section><section id="variant.USE_TREE" class="variant"><a href="#variant.USE_TREE" class="anchor">§</a><h3 class="code-header">USE_TREE</h3></section><section id="variant.USE_TREE_LIST" class="variant"><a href="#variant.USE_TREE_LIST" class="anchor">§</a><h3 class="code-header">USE_TREE_LIST</h3></section><section id="variant.VARIANT" class="variant"><a href="#variant.VARIANT" class="anchor">§</a><h3 class="code-header">VARIANT</h3></section><section id="variant.VARIANT_LIST" class="variant"><a href="#variant.VARIANT_LIST" class="anchor">§</a><h3 class="code-header">VARIANT_LIST</h3></section><section id="variant.VISIBILITY" class="variant"><a href="#variant.VISIBILITY" class="anchor">§</a><h3 class="code-header">VISIBILITY</h3></section><section id="variant.WHERE_CLAUSE" class="variant"><a href="#variant.WHERE_CLAUSE" class="anchor">§</a><h3 class="code-header">WHERE_CLAUSE</h3></section><section id="variant.WHERE_PRED" class="variant"><a href="#variant.WHERE_PRED" class="anchor">§</a><h3 class="code-header">WHERE_PRED</h3></section><section id="variant.WHILE_EXPR" class="variant"><a href="#variant.WHILE_EXPR" class="anchor">§</a><h3 class="code-header">WHILE_EXPR</h3></section><section id="variant.WILDCARD_PAT" class="variant"><a href="#variant.WILDCARD_PAT" class="anchor">§</a><h3 class="code-header">WILDCARD_PAT</h3></section><section id="variant.YEET_EXPR" class="variant"><a href="#variant.YEET_EXPR" class="anchor">§</a><h3 class="code-header">YEET_EXPR</h3></section><section id="variant.YIELD_EXPR" class="variant"><a href="#variant.YIELD_EXPR" class="anchor">§</a><h3 class="code-header">YIELD_EXPR</h3></section></div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#333-1040">Source</a><a href="#impl-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></summary><div class="impl-items"><section id="method.text" class="method"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#335-658">Source</a><h4 class="code-header">pub const fn <a href="#method.text" class="fn">text</a>(self) -> &'static <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.is_strict_keyword" class="method"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#661-719">Source</a><h4 class="code-header">pub fn <a href="#method.is_strict_keyword" class="fn">is_strict_keyword</a>(self, edition: <a class="enum" href="enum.Edition.html" title="enum parser::Edition">Edition</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks whether this syntax kind is a strict keyword for the given edition.
|
|
Strict keywords are identifiers that are always considered keywords.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_contextual_keyword" class="method"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#722-754">Source</a><h4 class="code-header">pub fn <a href="#method.is_contextual_keyword" class="fn">is_contextual_keyword</a>(self, edition: <a class="enum" href="enum.Edition.html" title="enum parser::Edition">Edition</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks whether this syntax kind is a weak keyword for the given edition.
|
|
Weak keywords are identifiers that are considered keywords only in certain contexts.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_keyword" class="method"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#756-842">Source</a><h4 class="code-header">pub fn <a href="#method.is_keyword" class="fn">is_keyword</a>(self, edition: <a class="enum" href="enum.Edition.html" title="enum parser::Edition">Edition</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Checks whether this syntax kind is a strict or weak keyword for the given edition.</p>
|
|
</div></details><section id="method.is_punct" class="method"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#843-899">Source</a><h4 class="code-header">pub fn <a href="#method.is_punct" class="fn">is_punct</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section><section id="method.is_literal" class="method"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#900-913">Source</a><h4 class="code-header">pub fn <a href="#method.is_literal" class="fn">is_literal</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section><section id="method.from_keyword" class="method"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#914-971">Source</a><h4 class="code-header">pub fn <a href="#method.from_keyword" class="fn">from_keyword</a>(ident: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>, edition: <a class="enum" href="enum.Edition.html" title="enum parser::Edition">Edition</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a>></h4></section><section id="method.from_contextual_keyword" class="method"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#972-1005">Source</a><h4 class="code-header">pub fn <a href="#method.from_contextual_keyword" class="fn">from_contextual_keyword</a>(
|
|
ident: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.str.html">str</a>,
|
|
edition: <a class="enum" href="enum.Edition.html" title="enum parser::Edition">Edition</a>,
|
|
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a>></h4></section><section id="method.from_char" class="method"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#1006-1039">Source</a><h4 class="code-header">pub fn <a href="#method.from_char" class="fn">from_char</a>(c: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a>></h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SyntaxKind-1" class="impl"><a class="src rightside" href="../src/parser/syntax_kind.rs.html#26-38">Source</a><a href="#impl-SyntaxKind-1" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></summary><div class="impl-items"><section id="method.is_trivia" class="method"><a class="src rightside" href="../src/parser/syntax_kind.rs.html#28-30">Source</a><h4 class="code-header">pub fn <a href="#method.is_trivia" class="fn">is_trivia</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.is_any_identifier" class="method"><a class="src rightside" href="../src/parser/syntax_kind.rs.html#34-37">Source</a><h4 class="code-header">pub fn <a href="#method.is_any_identifier" class="fn">is_any_identifier</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if this is an identifier or a keyword.</p>
|
|
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#impl-Clone-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#174">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#impl-Debug-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CSyntaxKind%3E-for-u16" class="impl"><a class="src rightside" href="../src/parser/syntax_kind.rs.html#19-24">Source</a><a href="#impl-From%3CSyntaxKind%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u16.html">u16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/parser/syntax_kind.rs.html#21-23">Source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(k: <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u16.html">u16</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu16%3E-for-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind.rs.html#11-17">Source</a><a href="#impl-From%3Cu16%3E-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u16.html">u16</a>> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/parser/syntax_kind.rs.html#13-16">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(d: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u16.html">u16</a>) -> <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#impl-Hash-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a><__H: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut __H</a>)</h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/hash/mod.rs.html#235-237">Source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a><H>(data: &[Self], state: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut H</a>)<div class="where">where
|
|
H: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
|
|
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#impl-Ord-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#tymethod.cmp" class="fn">cmp</a>(&self, other: &<a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#980-982">Source</a></span><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.max" class="fn">max</a>(self, other: Self) -> Self<div class="where">where
|
|
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1001-1003">Source</a></span><a href="#method.min" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.min" class="fn">min</a>(self, other: Self) -> Self<div class="where">where
|
|
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.50.0">1.50.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1027-1029">Source</a></span><a href="#method.clamp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -> Self<div class="where">where
|
|
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#impl-PartialEq-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
|
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd-for-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#impl-PartialOrd-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp" class="method trait-impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, other: &<a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
|
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
|
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
|
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><section id="impl-Copy-for-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#impl-Copy-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section><section id="impl-Eq-for-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#impl-Eq-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section><section id="impl-StructuralPartialEq-for-SyntaxKind" class="impl"><a class="src rightside" href="../src/parser/syntax_kind/generated.rs.html#6">Source</a><a href="#impl-StructuralPartialEq-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-SyntaxKind" class="impl"><a href="#impl-Freeze-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section><section id="impl-RefUnwindSafe-for-SyntaxKind" class="impl"><a href="#impl-RefUnwindSafe-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section><section id="impl-Send-for-SyntaxKind" class="impl"><a href="#impl-Send-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section><section id="impl-Sync-for-SyntaxKind" class="impl"><a href="#impl-Sync-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section><section id="impl-Unpin-for-SyntaxKind" class="impl"><a href="#impl-Unpin-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section><section id="impl-UnwindSafe-for-SyntaxKind" class="impl"><a href="#impl-UnwindSafe-for-SyntaxKind" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.SyntaxKind.html" title="enum parser::SyntaxKind">SyntaxKind</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
|
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#273">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#275">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dst: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dst</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#765">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#768">Source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
|
|
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
|
|
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#748-750">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#758">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
|
<p>That is, this conversion is whatever the implementation of
|
|
<code><a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#82-84">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
|
|
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#86">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#87">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#91">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#805-807">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#809">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#812">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#790-792">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#794">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#797">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a><S>(self, subscriber: S) -> WithDispatch<Self><div class="where">where
|
|
S: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
|
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -> WithDispatch<Self></h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
|
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details></div></section></div></main></body></html> |