mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-27 12:25:05 +00:00
4 lines
No EOL
6.6 KiB
HTML
4 lines
No EOL
6.6 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="While the parent module defines basic atomic “constructors”, the `ext` module defines shortcuts for common things."><title>syntax::ast::make::ext - 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="syntax" 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 mod"><!--[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="../../../../syntax/index.html">syntax</a><span class="version">0.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module ext</a></h2><h3><a href="#functions">Module Items</a></h3><ul class="block"><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In syntax::<wbr>ast::<wbr>make</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">syntax</a>::<wbr><a href="../../index.html">ast</a>::<wbr><a href="../index.html">make</a></span><h1>Module <span>ext</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/syntax/ast/make.rs.html#31">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>While the parent module defines basic atomic “constructors”, the <code>ext</code>
|
||
module defines shortcuts for common things.</p>
|
||
<p>It’s named <code>ext</code> rather than <code>shortcuts</code> just to keep it short.</p>
|
||
</div></details><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.default_bool.html" title="fn syntax::ast::make::ext::default_bool">default_<wbr>bool</a></div></li><li><div class="item-name"><a class="fn" href="fn.empty_block_expr.html" title="fn syntax::ast::make::ext::empty_block_expr">empty_<wbr>block_<wbr>expr</a></div></li><li><div class="item-name"><a class="fn" href="fn.empty_char.html" title="fn syntax::ast::make::ext::empty_char">empty_<wbr>char</a></div></li><li><div class="item-name"><a class="fn" href="fn.empty_str.html" title="fn syntax::ast::make::ext::empty_str">empty_<wbr>str</a></div></li><li><div class="item-name"><a class="fn" href="fn.expr_self.html" title="fn syntax::ast::make::ext::expr_self">expr_<wbr>self</a></div></li><li><div class="item-name"><a class="fn" href="fn.expr_todo.html" title="fn syntax::ast::make::ext::expr_todo">expr_<wbr>todo</a></div></li><li><div class="item-name"><a class="fn" href="fn.expr_ty_default.html" title="fn syntax::ast::make::ext::expr_ty_default">expr_<wbr>ty_<wbr>default</a></div></li><li><div class="item-name"><a class="fn" href="fn.expr_ty_new.html" title="fn syntax::ast::make::ext::expr_ty_new">expr_<wbr>ty_<wbr>new</a></div></li><li><div class="item-name"><a class="fn" href="fn.expr_unit.html" title="fn syntax::ast::make::ext::expr_unit">expr_<wbr>unit</a></div></li><li><div class="item-name"><a class="fn" href="fn.expr_unreachable.html" title="fn syntax::ast::make::ext::expr_unreachable">expr_<wbr>unreachable</a></div></li><li><div class="item-name"><a class="fn" href="fn.field_from_idents.html" title="fn syntax::ast::make::ext::field_from_idents">field_<wbr>from_<wbr>idents</a></div></li><li><div class="item-name"><a class="fn" href="fn.ident_path.html" title="fn syntax::ast::make::ext::ident_path">ident_<wbr>path</a></div></li><li><div class="item-name"><a class="fn" href="fn.option_none.html" title="fn syntax::ast::make::ext::option_none">option_<wbr>none</a></div></li><li><div class="item-name"><a class="fn" href="fn.path_from_idents.html" title="fn syntax::ast::make::ext::path_from_idents">path_<wbr>from_<wbr>idents</a></div></li><li><div class="item-name"><a class="fn" href="fn.simple_ident_pat.html" title="fn syntax::ast::make::ext::simple_ident_pat">simple_<wbr>ident_<wbr>pat</a></div></li><li><div class="item-name"><a class="fn" href="fn.ty_bool.html" title="fn syntax::ast::make::ext::ty_bool">ty_bool</a></div></li><li><div class="item-name"><a class="fn" href="fn.ty_name.html" title="fn syntax::ast::make::ext::ty_name">ty_name</a></div></li><li><div class="item-name"><a class="fn" href="fn.ty_option.html" title="fn syntax::ast::make::ext::ty_option">ty_<wbr>option</a></div></li><li><div class="item-name"><a class="fn" href="fn.ty_result.html" title="fn syntax::ast::make::ext::ty_result">ty_<wbr>result</a></div></li><li><div class="item-name"><a class="fn" href="fn.zero_float.html" title="fn syntax::ast::make::ext::zero_float">zero_<wbr>float</a></div></li><li><div class="item-name"><a class="fn" href="fn.zero_number.html" title="fn syntax::ast::make::ext::zero_number">zero_<wbr>number</a></div></li></ul></section></div></main></body></html> |