493 lines
No EOL
25 KiB
HTML
493 lines
No EOL
25 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="API documentation for the Rust `__core` mod in crate `bitflags`.">
|
||
<meta name="keywords" content="rust, rustlang, rust-lang, __core">
|
||
|
||
<title>bitflags::__core - Rust</title>
|
||
|
||
<link rel="stylesheet" type="text/css" href="../../rustdoc.css">
|
||
<link rel="stylesheet" type="text/css" href="../../main.css">
|
||
|
||
|
||
|
||
|
||
</head>
|
||
<body class="rustdoc">
|
||
<!--[if lte IE 8]>
|
||
<div class="warning">
|
||
This old browser is unsupported and will most likely display funky
|
||
things.
|
||
</div>
|
||
<![endif]-->
|
||
|
||
|
||
|
||
<nav class="sidebar">
|
||
|
||
<p class='location'><a href='../index.html'>bitflags</a></p><script>window.sidebarCurrent = {name: '__core', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script>
|
||
</nav>
|
||
|
||
<nav class="sub">
|
||
<form class="search-form js-only">
|
||
<div class="search-container">
|
||
<input class="search-input" name="search"
|
||
autocomplete="off"
|
||
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
|
||
type="search">
|
||
</div>
|
||
</form>
|
||
</nav>
|
||
|
||
<section id='main' class="content mod">
|
||
<h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>bitflags</a>::<wbr><a class='mod' href=''>__core</a></span><span class='out-of-band'><span id='render-detail'>
|
||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||
[<span class='inner'>−</span>]
|
||
</a>
|
||
</span><a id='src-0' class='srclink' href='https://doc.rust-lang.org/nightly//__core/index.html?gotosrc=0' title='goto source code'>[src]</a></span></h1>
|
||
<h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
|
||
<table>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='any/index.html'
|
||
title='bitflags::__core::any'>any</a></td>
|
||
<td class='docblock short'>
|
||
<p>This module implements the <code>Any</code> trait, which enables dynamic typing
|
||
of any <code>'static</code> type through runtime reflection.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='ascii/index.html'
|
||
title='bitflags::__core::ascii'>ascii</a></td>
|
||
<td class='docblock short'>
|
||
<p>Operations on ASCII strings and characters.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='borrow/index.html'
|
||
title='bitflags::__core::borrow'>borrow</a></td>
|
||
<td class='docblock short'>
|
||
<p>A module for working with borrowed data.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='boxed/index.html'
|
||
title='bitflags::__core::boxed'>boxed</a></td>
|
||
<td class='docblock short'>
|
||
<p>A pointer type for heap allocation.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='cell/index.html'
|
||
title='bitflags::__core::cell'>cell</a></td>
|
||
<td class='docblock short'>
|
||
<p>Shareable mutable containers.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='char/index.html'
|
||
title='bitflags::__core::char'>char</a></td>
|
||
<td class='docblock short'>
|
||
<p>A character type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='clone/index.html'
|
||
title='bitflags::__core::clone'>clone</a></td>
|
||
<td class='docblock short'>
|
||
<p>The <code>Clone</code> trait for types that cannot be 'implicitly copied'.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='cmp/index.html'
|
||
title='bitflags::__core::cmp'>cmp</a></td>
|
||
<td class='docblock short'>
|
||
<p>Functionality for ordering and comparison.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='collections/index.html'
|
||
title='bitflags::__core::collections'>collections</a></td>
|
||
<td class='docblock short'>
|
||
<p>Collection types.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='convert/index.html'
|
||
title='bitflags::__core::convert'>convert</a></td>
|
||
<td class='docblock short'>
|
||
<p>Traits for conversions between types.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='default/index.html'
|
||
title='bitflags::__core::default'>default</a></td>
|
||
<td class='docblock short'>
|
||
<p>The <code>Default</code> trait for types which may have meaningful default values.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='env/index.html'
|
||
title='bitflags::__core::env'>env</a></td>
|
||
<td class='docblock short'>
|
||
<p>Inspection and manipulation of the process's environment.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='error/index.html'
|
||
title='bitflags::__core::error'>error</a></td>
|
||
<td class='docblock short'>
|
||
<p>Traits for working with Errors.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='f32/index.html'
|
||
title='bitflags::__core::f32'>f32</a></td>
|
||
<td class='docblock short'>
|
||
<p>The 32-bit floating point type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='f64/index.html'
|
||
title='bitflags::__core::f64'>f64</a></td>
|
||
<td class='docblock short'>
|
||
<p>The 64-bit floating point type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='ffi/index.html'
|
||
title='bitflags::__core::ffi'>ffi</a></td>
|
||
<td class='docblock short'>
|
||
<p>Utilities related to FFI bindings.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='fmt/index.html'
|
||
title='bitflags::__core::fmt'>fmt</a></td>
|
||
<td class='docblock short'>
|
||
<p>Utilities for formatting and printing strings</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='fs/index.html'
|
||
title='bitflags::__core::fs'>fs</a></td>
|
||
<td class='docblock short'>
|
||
<p>Filesystem manipulation operations.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='hash/index.html'
|
||
title='bitflags::__core::hash'>hash</a></td>
|
||
<td class='docblock short'>
|
||
<p>Generic hashing support.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='i16/index.html'
|
||
title='bitflags::__core::i16'>i16</a></td>
|
||
<td class='docblock short'>
|
||
<p>The 16-bit signed integer type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='i32/index.html'
|
||
title='bitflags::__core::i32'>i32</a></td>
|
||
<td class='docblock short'>
|
||
<p>The 32-bit signed integer type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='i64/index.html'
|
||
title='bitflags::__core::i64'>i64</a></td>
|
||
<td class='docblock short'>
|
||
<p>The 64-bit signed integer type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='i8/index.html'
|
||
title='bitflags::__core::i8'>i8</a></td>
|
||
<td class='docblock short'>
|
||
<p>The 8-bit signed integer type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='io/index.html'
|
||
title='bitflags::__core::io'>io</a></td>
|
||
<td class='docblock short'>
|
||
<p>Traits, helpers, and type definitions for core I/O functionality.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='isize/index.html'
|
||
title='bitflags::__core::isize'>isize</a></td>
|
||
<td class='docblock short'>
|
||
<p>The pointer-sized signed integer type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='iter/index.html'
|
||
title='bitflags::__core::iter'>iter</a></td>
|
||
<td class='docblock short'>
|
||
<p>Composable external iteration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='marker/index.html'
|
||
title='bitflags::__core::marker'>marker</a></td>
|
||
<td class='docblock short'>
|
||
<p>Primitive traits and marker types representing basic 'kinds' of types.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='mem/index.html'
|
||
title='bitflags::__core::mem'>mem</a></td>
|
||
<td class='docblock short'>
|
||
<p>Basic functions for dealing with memory.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='net/index.html'
|
||
title='bitflags::__core::net'>net</a></td>
|
||
<td class='docblock short'>
|
||
<p>Networking primitives for TCP/UDP communication.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='num/index.html'
|
||
title='bitflags::__core::num'>num</a></td>
|
||
<td class='docblock short'>
|
||
<p>Additional functionality for numerics.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='ops/index.html'
|
||
title='bitflags::__core::ops'>ops</a></td>
|
||
<td class='docblock short'>
|
||
<p>Overloadable operators.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='option/index.html'
|
||
title='bitflags::__core::option'>option</a></td>
|
||
<td class='docblock short'>
|
||
<p>Optional values.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='os/index.html'
|
||
title='bitflags::__core::os'>os</a></td>
|
||
<td class='docblock short'>
|
||
<p>OS-specific functionality.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='panic/index.html'
|
||
title='bitflags::__core::panic'>panic</a></td>
|
||
<td class='docblock short'>
|
||
<p>Panic support in the standard library</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='path/index.html'
|
||
title='bitflags::__core::path'>path</a></td>
|
||
<td class='docblock short'>
|
||
<p>Cross-platform path manipulation.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='prelude/index.html'
|
||
title='bitflags::__core::prelude'>prelude</a></td>
|
||
<td class='docblock short'>
|
||
<p>The Rust Prelude.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='process/index.html'
|
||
title='bitflags::__core::process'>process</a></td>
|
||
<td class='docblock short'>
|
||
<p>Working with processes.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='ptr/index.html'
|
||
title='bitflags::__core::ptr'>ptr</a></td>
|
||
<td class='docblock short'>
|
||
<p>Raw, unsafe pointers, <code>*const T</code>, and <code>*mut T</code>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='rc/index.html'
|
||
title='bitflags::__core::rc'>rc</a></td>
|
||
<td class='docblock short'>
|
||
<p>Thread-local reference-counted boxes (the <code>Rc<T></code> type).</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='result/index.html'
|
||
title='bitflags::__core::result'>result</a></td>
|
||
<td class='docblock short'>
|
||
<p>Error handling with the <code>Result</code> type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='slice/index.html'
|
||
title='bitflags::__core::slice'>slice</a></td>
|
||
<td class='docblock short'>
|
||
<p>A dynamically-sized view into a contiguous sequence, <code>[T]</code>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='str/index.html'
|
||
title='bitflags::__core::str'>str</a></td>
|
||
<td class='docblock short'>
|
||
<p>Unicode string slices.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='string/index.html'
|
||
title='bitflags::__core::string'>string</a></td>
|
||
<td class='docblock short'>
|
||
<p>A UTF-8 encoded, growable string.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='sync/index.html'
|
||
title='bitflags::__core::sync'>sync</a></td>
|
||
<td class='docblock short'>
|
||
<p>Useful synchronization primitives.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='thread/index.html'
|
||
title='bitflags::__core::thread'>thread</a></td>
|
||
<td class='docblock short'>
|
||
<p>Native threads.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='time/index.html'
|
||
title='bitflags::__core::time'>time</a></td>
|
||
<td class='docblock short'>
|
||
<p>Temporal quantification.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='u16/index.html'
|
||
title='bitflags::__core::u16'>u16</a></td>
|
||
<td class='docblock short'>
|
||
<p>The 16-bit unsigned integer type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='u32/index.html'
|
||
title='bitflags::__core::u32'>u32</a></td>
|
||
<td class='docblock short'>
|
||
<p>The 32-bit unsigned integer type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='u64/index.html'
|
||
title='bitflags::__core::u64'>u64</a></td>
|
||
<td class='docblock short'>
|
||
<p>The 64-bit unsigned integer type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='u8/index.html'
|
||
title='bitflags::__core::u8'>u8</a></td>
|
||
<td class='docblock short'>
|
||
<p>The 8-bit unsigned integer type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='usize/index.html'
|
||
title='bitflags::__core::usize'>usize</a></td>
|
||
<td class='docblock short'>
|
||
<p>The pointer-sized unsigned integer type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class=' module-item'>
|
||
<td><a class='mod' href='vec/index.html'
|
||
title='bitflags::__core::vec'>vec</a></td>
|
||
<td class='docblock short'>
|
||
<p>A contiguous growable array type with heap-allocated contents, written
|
||
<code>Vec<T></code> but pronounced 'vector.'</p>
|
||
</td>
|
||
</tr>
|
||
<tr class='unstable module-item'>
|
||
<td><a class='mod' href='intrinsics/index.html'
|
||
title='bitflags::__core::intrinsics'>intrinsics</a></td>
|
||
<td class='docblock short'>
|
||
[<em class='stab unstable'>Unstable</em>] <p>rustc compiler intrinsics.</p>
|
||
</td>
|
||
</tr>
|
||
<tr class='unstable module-item'>
|
||
<td><a class='mod' href='raw/index.html'
|
||
title='bitflags::__core::raw'>raw</a></td>
|
||
<td class='docblock short'>
|
||
[<em class='stab unstable'>Unstable</em>] <p>Contains struct definitions for the layout of compiler built-in types.</p>
|
||
</td>
|
||
</tr></table></section>
|
||
<section id='search' class="content hidden"></section>
|
||
|
||
<section class="footer"></section>
|
||
|
||
<aside id="help" class="hidden">
|
||
<div>
|
||
<h1 class="hidden">Help</h1>
|
||
|
||
<div class="shortcuts">
|
||
<h2>Keyboard Shortcuts</h2>
|
||
|
||
<dl>
|
||
<dt>?</dt>
|
||
<dd>Show this help dialog</dd>
|
||
<dt>S</dt>
|
||
<dd>Focus the search field</dd>
|
||
<dt>⇤</dt>
|
||
<dd>Move up in search results</dd>
|
||
<dt>⇥</dt>
|
||
<dd>Move down in search results</dd>
|
||
<dt>⏎</dt>
|
||
<dd>Go to active search result</dd>
|
||
</dl>
|
||
</div>
|
||
|
||
<div class="infos">
|
||
<h2>Search Tricks</h2>
|
||
|
||
<p>
|
||
Prefix searches with a type followed by a colon (e.g.
|
||
<code>fn:</code>) to restrict the search to a given type.
|
||
</p>
|
||
|
||
<p>
|
||
Accepted types are: <code>fn</code>, <code>mod</code>,
|
||
<code>struct</code>, <code>enum</code>,
|
||
<code>trait</code>, <code>type</code>, <code>macro</code>,
|
||
and <code>const</code>.
|
||
</p>
|
||
|
||
<p>
|
||
Search functions by type signature (e.g.
|
||
<code>vec -> usize</code> or <code>* -> vec</code>)
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</aside>
|
||
|
||
|
||
|
||
<script>
|
||
window.rootPath = "../../";
|
||
window.currentCrate = "bitflags";
|
||
window.playgroundUrl = "";
|
||
</script>
|
||
<script src="../../jquery.js"></script>
|
||
<script src="../../main.js"></script>
|
||
|
||
<script defer src="../../search-index.js"></script>
|
||
</body>
|
||
</html> |