mirror of
https://github.com/NotAShelf/mpvrc.git
synced 2026-04-18 00:38:14 +00:00
deploy: de38ae62916547ad097c066f94a32e9ba7790eeb
This commit is contained in:
commit
9a86359447
28502 changed files with 1261284 additions and 0 deletions
1
zerocopy/all.html
Normal file
1
zerocopy/all.html
Normal file
File diff suppressed because one or more lines are too long
44
zerocopy/byteorder/big_endian/index.html
Normal file
44
zerocopy/byteorder/big_endian/index.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<!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="Numeric primitives stored in big-endian byte order."><title>zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module big_<wbr>endian</a></h2><h3><a href="#types">Module Items</a></h3><ul class="block"><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In zerocopy::<wbr>byteorder</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a></span><h1>Module <span>big_endian</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Numeric primitives stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.F32.html" title="type zerocopy::byteorder::big_endian::F32">F32</a></div><div class="desc docblock-short">A
|
||||
32-bit floating point number
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.F64.html" title="type zerocopy::byteorder::big_endian::F64">F64</a></div><div class="desc docblock-short">A
|
||||
64-bit floating point number
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I16.html" title="type zerocopy::byteorder::big_endian::I16">I16</a></div><div class="desc docblock-short">A
|
||||
16-bit signed integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I32.html" title="type zerocopy::byteorder::big_endian::I32">I32</a></div><div class="desc docblock-short">A
|
||||
32-bit signed integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I64.html" title="type zerocopy::byteorder::big_endian::I64">I64</a></div><div class="desc docblock-short">A
|
||||
64-bit signed integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I128.html" title="type zerocopy::byteorder::big_endian::I128">I128</a></div><div class="desc docblock-short">A
|
||||
128-bit signed integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U16.html" title="type zerocopy::byteorder::big_endian::U16">U16</a></div><div class="desc docblock-short">A
|
||||
16-bit unsigned integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U32.html" title="type zerocopy::byteorder::big_endian::U32">U32</a></div><div class="desc docblock-short">A
|
||||
32-bit unsigned integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U64.html" title="type zerocopy::byteorder::big_endian::U64">U64</a></div><div class="desc docblock-short">A
|
||||
64-bit unsigned integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U128.html" title="type zerocopy::byteorder::big_endian::U128">U128</a></div><div class="desc docblock-short">A
|
||||
128-bit unsigned integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</div></li></ul></section></div></main></body></html>
|
||||
1
zerocopy/byteorder/big_endian/sidebar-items.js
Normal file
1
zerocopy/byteorder/big_endian/sidebar-items.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"type":["F32","F64","I128","I16","I32","I64","U128","U16","U32","U64"]};
|
||||
6
zerocopy/byteorder/big_endian/type.F32.html
Normal file
6
zerocopy/byteorder/big_endian/type.F32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit floating point number stored in big-endian byte order."><title>F32 in zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">F32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>big_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">big_endian</a></span><h1>Type Alias <span class="type">F32</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><pre class="rust item-decl"><code>pub type F32 = <a class="struct" href="../struct.F32.html" title="struct zerocopy::byteorder::F32">F32</a><<a class="enum" href="../enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit floating point number
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct F32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.F32.js" data-self-path="zerocopy::byteorder::big_endian::F32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/big_endian/type.F64.html
Normal file
6
zerocopy/byteorder/big_endian/type.F64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit floating point number stored in big-endian byte order."><title>F64 in zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">F64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>big_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">big_endian</a></span><h1>Type Alias <span class="type">F64</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><pre class="rust item-decl"><code>pub type F64 = <a class="struct" href="../struct.F64.html" title="struct zerocopy::byteorder::F64">F64</a><<a class="enum" href="../enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit floating point number
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct F64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.F64.js" data-self-path="zerocopy::byteorder::big_endian::F64" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/big_endian/type.I128.html
Normal file
6
zerocopy/byteorder/big_endian/type.I128.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 128-bit signed integer stored in big-endian byte order."><title>I128 in zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I128</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>big_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">big_endian</a></span><h1>Type Alias <span class="type">I128</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><pre class="rust item-decl"><code>pub type I128 = <a class="struct" href="../struct.I128.html" title="struct zerocopy::byteorder::I128">I128</a><<a class="enum" href="../enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
128-bit signed integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I128(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I128.js" data-self-path="zerocopy::byteorder::big_endian::I128" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/big_endian/type.I16.html
Normal file
6
zerocopy/byteorder/big_endian/type.I16.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 16-bit signed integer stored in big-endian byte order."><title>I16 in zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I16</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>big_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">big_endian</a></span><h1>Type Alias <span class="type">I16</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><pre class="rust item-decl"><code>pub type I16 = <a class="struct" href="../struct.I16.html" title="struct zerocopy::byteorder::I16">I16</a><<a class="enum" href="../enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
16-bit signed integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I16(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I16.js" data-self-path="zerocopy::byteorder::big_endian::I16" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/big_endian/type.I32.html
Normal file
6
zerocopy/byteorder/big_endian/type.I32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit signed integer stored in big-endian byte order."><title>I32 in zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>big_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">big_endian</a></span><h1>Type Alias <span class="type">I32</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><pre class="rust item-decl"><code>pub type I32 = <a class="struct" href="../struct.I32.html" title="struct zerocopy::byteorder::I32">I32</a><<a class="enum" href="../enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit signed integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I32.js" data-self-path="zerocopy::byteorder::big_endian::I32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/big_endian/type.I64.html
Normal file
6
zerocopy/byteorder/big_endian/type.I64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit signed integer stored in big-endian byte order."><title>I64 in zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>big_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">big_endian</a></span><h1>Type Alias <span class="type">I64</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><pre class="rust item-decl"><code>pub type I64 = <a class="struct" href="../struct.I64.html" title="struct zerocopy::byteorder::I64">I64</a><<a class="enum" href="../enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit signed integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I64.js" data-self-path="zerocopy::byteorder::big_endian::I64" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/big_endian/type.U128.html
Normal file
6
zerocopy/byteorder/big_endian/type.U128.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 128-bit unsigned integer stored in big-endian byte order."><title>U128 in zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U128</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>big_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">big_endian</a></span><h1>Type Alias <span class="type">U128</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><pre class="rust item-decl"><code>pub type U128 = <a class="struct" href="../struct.U128.html" title="struct zerocopy::byteorder::U128">U128</a><<a class="enum" href="../enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
128-bit unsigned integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U128(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U128.js" data-self-path="zerocopy::byteorder::big_endian::U128" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/big_endian/type.U16.html
Normal file
6
zerocopy/byteorder/big_endian/type.U16.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 16-bit unsigned integer stored in big-endian byte order."><title>U16 in zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U16</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>big_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">big_endian</a></span><h1>Type Alias <span class="type">U16</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><pre class="rust item-decl"><code>pub type U16 = <a class="struct" href="../struct.U16.html" title="struct zerocopy::byteorder::U16">U16</a><<a class="enum" href="../enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
16-bit unsigned integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U16(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U16.js" data-self-path="zerocopy::byteorder::big_endian::U16" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/big_endian/type.U32.html
Normal file
6
zerocopy/byteorder/big_endian/type.U32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit unsigned integer stored in big-endian byte order."><title>U32 in zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>big_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">big_endian</a></span><h1>Type Alias <span class="type">U32</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><pre class="rust item-decl"><code>pub type U32 = <a class="struct" href="../struct.U32.html" title="struct zerocopy::byteorder::U32">U32</a><<a class="enum" href="../enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit unsigned integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U32.js" data-self-path="zerocopy::byteorder::big_endian::U32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/big_endian/type.U64.html
Normal file
6
zerocopy/byteorder/big_endian/type.U64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit unsigned integer stored in big-endian byte order."><title>U64 in zerocopy::byteorder::big_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>big_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">big_endian</a></span><h1>Type Alias <span class="type">U64</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/zerocopy/byteorder.rs.html#597">Source</a> </span></div><pre class="rust item-decl"><code>pub type U64 = <a class="struct" href="../struct.U64.html" title="struct zerocopy::byteorder::U64">U64</a><<a class="enum" href="../enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit unsigned integer
|
||||
stored in
|
||||
big-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U64.js" data-self-path="zerocopy::byteorder::big_endian::U64" async></script></section></div></main></body></html>
|
||||
47
zerocopy/byteorder/enum.BigEndian.html
Normal file
47
zerocopy/byteorder/enum.BigEndian.html
Normal file
File diff suppressed because one or more lines are too long
47
zerocopy/byteorder/enum.LittleEndian.html
Normal file
47
zerocopy/byteorder/enum.LittleEndian.html
Normal file
File diff suppressed because one or more lines are too long
59
zerocopy/byteorder/index.html
Normal file
59
zerocopy/byteorder/index.html
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<!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="Byte order-aware numeric primitives."><title>zerocopy::byteorder - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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="../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module byteorder</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#example" title="Example">Example</a></li></ul><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate zerocopy</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">zerocopy</a></span><h1>Module <span>byteorder</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/zerocopy/byteorder.rs.html#9-1071">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Byte order-aware numeric primitives.</p>
|
||||
<p>This module contains equivalents of the native multi-byte integer types with
|
||||
no alignment requirement and supporting byte order conversions.</p>
|
||||
<p>For each native multi-byte integer type - <code>u16</code>, <code>i16</code>, <code>u32</code>, etc - and
|
||||
floating point type - <code>f32</code> and <code>f64</code> - an equivalent type is defined by
|
||||
this module - <a href="struct.U16.html" title="struct zerocopy::byteorder::U16"><code>U16</code></a>, <a href="struct.I16.html" title="struct zerocopy::byteorder::I16"><code>I16</code></a>, <a href="struct.U32.html" title="struct zerocopy::byteorder::U32"><code>U32</code></a>, <a href="struct.F64.html" title="struct zerocopy::byteorder::F64"><code>F64</code></a>, etc. Unlike their native
|
||||
counterparts, these types have alignment 1, and take a type parameter
|
||||
specifying the byte order in which the bytes are stored in memory. Each type
|
||||
implements the <a href="../trait.FromBytes.html" title="trait zerocopy::FromBytes"><code>FromBytes</code></a>, <a href="../trait.AsBytes.html" title="trait zerocopy::AsBytes"><code>AsBytes</code></a>, and <a href="../trait.Unaligned.html" title="trait zerocopy::Unaligned"><code>Unaligned</code></a> traits.</p>
|
||||
<p>These two properties, taken together, make these types useful for defining
|
||||
data structures whose memory layout matches a wire format such as that of a
|
||||
network protocol or a file format. Such formats often have multi-byte values
|
||||
at offsets that do not respect the alignment requirements of the equivalent
|
||||
native types, and stored in a byte order not necessarily the same as that of
|
||||
the target platform.</p>
|
||||
<p>Type aliases are provided for common byte orders in the <a href="big_endian/index.html" title="mod zerocopy::byteorder::big_endian"><code>big_endian</code></a>,
|
||||
<a href="little_endian/index.html" title="mod zerocopy::byteorder::little_endian"><code>little_endian</code></a>, <a href="network_endian/index.html" title="mod zerocopy::byteorder::network_endian"><code>network_endian</code></a>, and <a href="native_endian/index.html" title="mod zerocopy::byteorder::native_endian"><code>native_endian</code></a> submodules.</p>
|
||||
<h2 id="example"><a class="doc-anchor" href="#example">§</a>Example</h2>
|
||||
<p>One use of these types is for representing network packet formats, such as
|
||||
UDP:</p>
|
||||
|
||||
<div class="example-wrap edition"><a href="#" class="tooltip" title="This example runs with edition 2021">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>zerocopy::{AsBytes, ByteSlice, FromBytes, FromZeroes, Ref, Unaligned};
|
||||
<span class="kw">use </span>zerocopy::byteorder::network_endian::U16;
|
||||
|
||||
<span class="attr">#[derive(FromZeroes, FromBytes, AsBytes, Unaligned)]
|
||||
#[repr(C)]
|
||||
</span><span class="kw">struct </span>UdpHeader {
|
||||
src_port: U16,
|
||||
dst_port: U16,
|
||||
length: U16,
|
||||
checksum: U16,
|
||||
}
|
||||
|
||||
<span class="kw">struct </span>UdpPacket<B: ByteSlice> {
|
||||
header: Ref<B, UdpHeader>,
|
||||
body: B,
|
||||
}
|
||||
|
||||
<span class="kw">impl</span><B: ByteSlice> UdpPacket<B> {
|
||||
<span class="kw">fn </span>parse(bytes: B) -> <span class="prelude-ty">Option</span><UdpPacket<B>> {
|
||||
<span class="kw">let </span>(header, body) = Ref::new_from_prefix(bytes)<span class="question-mark">?</span>;
|
||||
<span class="prelude-val">Some</span>(UdpPacket { header, body })
|
||||
}
|
||||
|
||||
<span class="kw">fn </span>src_port(<span class="kw-2">&</span><span class="self">self</span>) -> u16 {
|
||||
<span class="self">self</span>.header.src_port.get()
|
||||
}
|
||||
|
||||
<span class="comment">// more getters...
|
||||
</span>}</code></pre></div>
|
||||
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="big_endian/index.html" title="mod zerocopy::byteorder::big_endian">big_<wbr>endian</a></div><div class="desc docblock-short">Numeric primitives stored in
|
||||
big-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="mod" href="little_endian/index.html" title="mod zerocopy::byteorder::little_endian">little_<wbr>endian</a></div><div class="desc docblock-short">Numeric primitives stored in
|
||||
little-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="mod" href="native_endian/index.html" title="mod zerocopy::byteorder::native_endian">native_<wbr>endian</a></div><div class="desc docblock-short">Numeric primitives stored in
|
||||
native-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="mod" href="network_endian/index.html" title="mod zerocopy::byteorder::network_endian">network_<wbr>endian</a></div><div class="desc docblock-short">Numeric primitives stored in
|
||||
network-endian
|
||||
byte order.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.F32.html" title="struct zerocopy::byteorder::F32">F32</a></div><div class="desc docblock-short">A 32-bit floating point number stored in a given byte order.</div></li><li><div class="item-name"><a class="struct" href="struct.F64.html" title="struct zerocopy::byteorder::F64">F64</a></div><div class="desc docblock-short">A 64-bit floating point number stored in a given byte order.</div></li><li><div class="item-name"><a class="struct" href="struct.I16.html" title="struct zerocopy::byteorder::I16">I16</a></div><div class="desc docblock-short">A 16-bit signed integer stored in a given byte order.</div></li><li><div class="item-name"><a class="struct" href="struct.I32.html" title="struct zerocopy::byteorder::I32">I32</a></div><div class="desc docblock-short">A 32-bit signed integer stored in a given byte order.</div></li><li><div class="item-name"><a class="struct" href="struct.I64.html" title="struct zerocopy::byteorder::I64">I64</a></div><div class="desc docblock-short">A 64-bit signed integer stored in a given byte order.</div></li><li><div class="item-name"><a class="struct" href="struct.I128.html" title="struct zerocopy::byteorder::I128">I128</a></div><div class="desc docblock-short">A 128-bit signed integer stored in a given byte order.</div></li><li><div class="item-name"><a class="struct" href="struct.U16.html" title="struct zerocopy::byteorder::U16">U16</a></div><div class="desc docblock-short">A 16-bit unsigned integer stored in a given byte order.</div></li><li><div class="item-name"><a class="struct" href="struct.U32.html" title="struct zerocopy::byteorder::U32">U32</a></div><div class="desc docblock-short">A 32-bit unsigned integer stored in a given byte order.</div></li><li><div class="item-name"><a class="struct" href="struct.U64.html" title="struct zerocopy::byteorder::U64">U64</a></div><div class="desc docblock-short">A 64-bit unsigned integer stored in a given byte order.</div></li><li><div class="item-name"><a class="struct" href="struct.U128.html" title="struct zerocopy::byteorder::U128">U128</a></div><div class="desc docblock-short">A 128-bit unsigned integer stored in a given byte order.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a></div><div class="desc docblock-short">Defines big-endian serialization.</div></li><li><div class="item-name"><a class="enum" href="enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">Little<wbr>Endian</a></div><div class="desc docblock-short">Defines little-endian serialization.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.ByteOrder.html" title="trait zerocopy::byteorder::ByteOrder">Byte<wbr>Order</a></div><div class="desc docblock-short"><code>ByteOrder</code> describes types that can serialize integers as bytes.</div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.BE.html" title="type zerocopy::byteorder::BE">BE</a></div><div class="desc docblock-short">A type alias for <a href="enum.BigEndian.html"><code>BigEndian</code></a>.</div></li><li><div class="item-name"><a class="type" href="type.LE.html" title="type zerocopy::byteorder::LE">LE</a></div><div class="desc docblock-short">A type alias for <a href="enum.LittleEndian.html"><code>LittleEndian</code></a>.</div></li><li><div class="item-name"><a class="type" href="type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">Native<wbr>Endian</a></div><div class="desc docblock-short">Defines system native-endian serialization.</div></li><li><div class="item-name"><a class="type" href="type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">Network<wbr>Endian</a></div><div class="desc docblock-short">Defines network byte order serialization.</div></li></ul></section></div></main></body></html>
|
||||
44
zerocopy/byteorder/little_endian/index.html
Normal file
44
zerocopy/byteorder/little_endian/index.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<!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="Numeric primitives stored in little-endian byte order."><title>zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module little_<wbr>endian</a></h2><h3><a href="#types">Module Items</a></h3><ul class="block"><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In zerocopy::<wbr>byteorder</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a></span><h1>Module <span>little_endian</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Numeric primitives stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.F32.html" title="type zerocopy::byteorder::little_endian::F32">F32</a></div><div class="desc docblock-short">A
|
||||
32-bit floating point number
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.F64.html" title="type zerocopy::byteorder::little_endian::F64">F64</a></div><div class="desc docblock-short">A
|
||||
64-bit floating point number
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I16.html" title="type zerocopy::byteorder::little_endian::I16">I16</a></div><div class="desc docblock-short">A
|
||||
16-bit signed integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I32.html" title="type zerocopy::byteorder::little_endian::I32">I32</a></div><div class="desc docblock-short">A
|
||||
32-bit signed integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I64.html" title="type zerocopy::byteorder::little_endian::I64">I64</a></div><div class="desc docblock-short">A
|
||||
64-bit signed integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I128.html" title="type zerocopy::byteorder::little_endian::I128">I128</a></div><div class="desc docblock-short">A
|
||||
128-bit signed integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U16.html" title="type zerocopy::byteorder::little_endian::U16">U16</a></div><div class="desc docblock-short">A
|
||||
16-bit unsigned integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U32.html" title="type zerocopy::byteorder::little_endian::U32">U32</a></div><div class="desc docblock-short">A
|
||||
32-bit unsigned integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U64.html" title="type zerocopy::byteorder::little_endian::U64">U64</a></div><div class="desc docblock-short">A
|
||||
64-bit unsigned integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U128.html" title="type zerocopy::byteorder::little_endian::U128">U128</a></div><div class="desc docblock-short">A
|
||||
128-bit unsigned integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</div></li></ul></section></div></main></body></html>
|
||||
1
zerocopy/byteorder/little_endian/sidebar-items.js
Normal file
1
zerocopy/byteorder/little_endian/sidebar-items.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"type":["F32","F64","I128","I16","I32","I64","U128","U16","U32","U64"]};
|
||||
6
zerocopy/byteorder/little_endian/type.F32.html
Normal file
6
zerocopy/byteorder/little_endian/type.F32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit floating point number stored in little-endian byte order."><title>F32 in zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">F32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>little_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">little_endian</a></span><h1>Type Alias <span class="type">F32</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><pre class="rust item-decl"><code>pub type F32 = <a class="struct" href="../struct.F32.html" title="struct zerocopy::byteorder::F32">F32</a><<a class="enum" href="../enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit floating point number
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct F32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.F32.js" data-self-path="zerocopy::byteorder::little_endian::F32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/little_endian/type.F64.html
Normal file
6
zerocopy/byteorder/little_endian/type.F64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit floating point number stored in little-endian byte order."><title>F64 in zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">F64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>little_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">little_endian</a></span><h1>Type Alias <span class="type">F64</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><pre class="rust item-decl"><code>pub type F64 = <a class="struct" href="../struct.F64.html" title="struct zerocopy::byteorder::F64">F64</a><<a class="enum" href="../enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit floating point number
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct F64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.F64.js" data-self-path="zerocopy::byteorder::little_endian::F64" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/little_endian/type.I128.html
Normal file
6
zerocopy/byteorder/little_endian/type.I128.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 128-bit signed integer stored in little-endian byte order."><title>I128 in zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I128</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>little_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">little_endian</a></span><h1>Type Alias <span class="type">I128</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><pre class="rust item-decl"><code>pub type I128 = <a class="struct" href="../struct.I128.html" title="struct zerocopy::byteorder::I128">I128</a><<a class="enum" href="../enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
128-bit signed integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I128(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I128.js" data-self-path="zerocopy::byteorder::little_endian::I128" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/little_endian/type.I16.html
Normal file
6
zerocopy/byteorder/little_endian/type.I16.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 16-bit signed integer stored in little-endian byte order."><title>I16 in zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I16</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>little_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">little_endian</a></span><h1>Type Alias <span class="type">I16</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><pre class="rust item-decl"><code>pub type I16 = <a class="struct" href="../struct.I16.html" title="struct zerocopy::byteorder::I16">I16</a><<a class="enum" href="../enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
16-bit signed integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I16(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I16.js" data-self-path="zerocopy::byteorder::little_endian::I16" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/little_endian/type.I32.html
Normal file
6
zerocopy/byteorder/little_endian/type.I32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit signed integer stored in little-endian byte order."><title>I32 in zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>little_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">little_endian</a></span><h1>Type Alias <span class="type">I32</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><pre class="rust item-decl"><code>pub type I32 = <a class="struct" href="../struct.I32.html" title="struct zerocopy::byteorder::I32">I32</a><<a class="enum" href="../enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit signed integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I32.js" data-self-path="zerocopy::byteorder::little_endian::I32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/little_endian/type.I64.html
Normal file
6
zerocopy/byteorder/little_endian/type.I64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit signed integer stored in little-endian byte order."><title>I64 in zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>little_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">little_endian</a></span><h1>Type Alias <span class="type">I64</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><pre class="rust item-decl"><code>pub type I64 = <a class="struct" href="../struct.I64.html" title="struct zerocopy::byteorder::I64">I64</a><<a class="enum" href="../enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit signed integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I64.js" data-self-path="zerocopy::byteorder::little_endian::I64" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/little_endian/type.U128.html
Normal file
6
zerocopy/byteorder/little_endian/type.U128.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 128-bit unsigned integer stored in little-endian byte order."><title>U128 in zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U128</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>little_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">little_endian</a></span><h1>Type Alias <span class="type">U128</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><pre class="rust item-decl"><code>pub type U128 = <a class="struct" href="../struct.U128.html" title="struct zerocopy::byteorder::U128">U128</a><<a class="enum" href="../enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
128-bit unsigned integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U128(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U128.js" data-self-path="zerocopy::byteorder::little_endian::U128" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/little_endian/type.U16.html
Normal file
6
zerocopy/byteorder/little_endian/type.U16.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 16-bit unsigned integer stored in little-endian byte order."><title>U16 in zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U16</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>little_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">little_endian</a></span><h1>Type Alias <span class="type">U16</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><pre class="rust item-decl"><code>pub type U16 = <a class="struct" href="../struct.U16.html" title="struct zerocopy::byteorder::U16">U16</a><<a class="enum" href="../enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
16-bit unsigned integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U16(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U16.js" data-self-path="zerocopy::byteorder::little_endian::U16" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/little_endian/type.U32.html
Normal file
6
zerocopy/byteorder/little_endian/type.U32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit unsigned integer stored in little-endian byte order."><title>U32 in zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>little_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">little_endian</a></span><h1>Type Alias <span class="type">U32</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><pre class="rust item-decl"><code>pub type U32 = <a class="struct" href="../struct.U32.html" title="struct zerocopy::byteorder::U32">U32</a><<a class="enum" href="../enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit unsigned integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U32.js" data-self-path="zerocopy::byteorder::little_endian::U32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/little_endian/type.U64.html
Normal file
6
zerocopy/byteorder/little_endian/type.U64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit unsigned integer stored in little-endian byte order."><title>U64 in zerocopy::byteorder::little_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>little_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">little_endian</a></span><h1>Type Alias <span class="type">U64</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/zerocopy/byteorder.rs.html#598">Source</a> </span></div><pre class="rust item-decl"><code>pub type U64 = <a class="struct" href="../struct.U64.html" title="struct zerocopy::byteorder::U64">U64</a><<a class="enum" href="../enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit unsigned integer
|
||||
stored in
|
||||
little-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U64.js" data-self-path="zerocopy::byteorder::little_endian::U64" async></script></section></div></main></body></html>
|
||||
44
zerocopy/byteorder/native_endian/index.html
Normal file
44
zerocopy/byteorder/native_endian/index.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<!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="Numeric primitives stored in native-endian byte order."><title>zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module native_<wbr>endian</a></h2><h3><a href="#types">Module Items</a></h3><ul class="block"><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In zerocopy::<wbr>byteorder</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a></span><h1>Module <span>native_endian</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Numeric primitives stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.F32.html" title="type zerocopy::byteorder::native_endian::F32">F32</a></div><div class="desc docblock-short">A
|
||||
32-bit floating point number
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.F64.html" title="type zerocopy::byteorder::native_endian::F64">F64</a></div><div class="desc docblock-short">A
|
||||
64-bit floating point number
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I16.html" title="type zerocopy::byteorder::native_endian::I16">I16</a></div><div class="desc docblock-short">A
|
||||
16-bit signed integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I32.html" title="type zerocopy::byteorder::native_endian::I32">I32</a></div><div class="desc docblock-short">A
|
||||
32-bit signed integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I64.html" title="type zerocopy::byteorder::native_endian::I64">I64</a></div><div class="desc docblock-short">A
|
||||
64-bit signed integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I128.html" title="type zerocopy::byteorder::native_endian::I128">I128</a></div><div class="desc docblock-short">A
|
||||
128-bit signed integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U16.html" title="type zerocopy::byteorder::native_endian::U16">U16</a></div><div class="desc docblock-short">A
|
||||
16-bit unsigned integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U32.html" title="type zerocopy::byteorder::native_endian::U32">U32</a></div><div class="desc docblock-short">A
|
||||
32-bit unsigned integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U64.html" title="type zerocopy::byteorder::native_endian::U64">U64</a></div><div class="desc docblock-short">A
|
||||
64-bit unsigned integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U128.html" title="type zerocopy::byteorder::native_endian::U128">U128</a></div><div class="desc docblock-short">A
|
||||
128-bit unsigned integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</div></li></ul></section></div></main></body></html>
|
||||
1
zerocopy/byteorder/native_endian/sidebar-items.js
Normal file
1
zerocopy/byteorder/native_endian/sidebar-items.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"type":["F32","F64","I128","I16","I32","I64","U128","U16","U32","U64"]};
|
||||
6
zerocopy/byteorder/native_endian/type.F32.html
Normal file
6
zerocopy/byteorder/native_endian/type.F32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit floating point number stored in native-endian byte order."><title>F32 in zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">F32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>native_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">native_endian</a></span><h1>Type Alias <span class="type">F32</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><pre class="rust item-decl"><code>pub type F32 = <a class="struct" href="../struct.F32.html" title="struct zerocopy::byteorder::F32">F32</a><<a class="type" href="../type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">NativeEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit floating point number
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct F32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.F32.js" data-self-path="zerocopy::byteorder::native_endian::F32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/native_endian/type.F64.html
Normal file
6
zerocopy/byteorder/native_endian/type.F64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit floating point number stored in native-endian byte order."><title>F64 in zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">F64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>native_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">native_endian</a></span><h1>Type Alias <span class="type">F64</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><pre class="rust item-decl"><code>pub type F64 = <a class="struct" href="../struct.F64.html" title="struct zerocopy::byteorder::F64">F64</a><<a class="type" href="../type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">NativeEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit floating point number
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct F64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.F64.js" data-self-path="zerocopy::byteorder::native_endian::F64" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/native_endian/type.I128.html
Normal file
6
zerocopy/byteorder/native_endian/type.I128.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 128-bit signed integer stored in native-endian byte order."><title>I128 in zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I128</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>native_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">native_endian</a></span><h1>Type Alias <span class="type">I128</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><pre class="rust item-decl"><code>pub type I128 = <a class="struct" href="../struct.I128.html" title="struct zerocopy::byteorder::I128">I128</a><<a class="type" href="../type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">NativeEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
128-bit signed integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I128(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I128.js" data-self-path="zerocopy::byteorder::native_endian::I128" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/native_endian/type.I16.html
Normal file
6
zerocopy/byteorder/native_endian/type.I16.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 16-bit signed integer stored in native-endian byte order."><title>I16 in zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I16</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>native_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">native_endian</a></span><h1>Type Alias <span class="type">I16</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><pre class="rust item-decl"><code>pub type I16 = <a class="struct" href="../struct.I16.html" title="struct zerocopy::byteorder::I16">I16</a><<a class="type" href="../type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">NativeEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
16-bit signed integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I16(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I16.js" data-self-path="zerocopy::byteorder::native_endian::I16" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/native_endian/type.I32.html
Normal file
6
zerocopy/byteorder/native_endian/type.I32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit signed integer stored in native-endian byte order."><title>I32 in zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>native_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">native_endian</a></span><h1>Type Alias <span class="type">I32</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><pre class="rust item-decl"><code>pub type I32 = <a class="struct" href="../struct.I32.html" title="struct zerocopy::byteorder::I32">I32</a><<a class="type" href="../type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">NativeEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit signed integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I32.js" data-self-path="zerocopy::byteorder::native_endian::I32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/native_endian/type.I64.html
Normal file
6
zerocopy/byteorder/native_endian/type.I64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit signed integer stored in native-endian byte order."><title>I64 in zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>native_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">native_endian</a></span><h1>Type Alias <span class="type">I64</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><pre class="rust item-decl"><code>pub type I64 = <a class="struct" href="../struct.I64.html" title="struct zerocopy::byteorder::I64">I64</a><<a class="type" href="../type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">NativeEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit signed integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I64.js" data-self-path="zerocopy::byteorder::native_endian::I64" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/native_endian/type.U128.html
Normal file
6
zerocopy/byteorder/native_endian/type.U128.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 128-bit unsigned integer stored in native-endian byte order."><title>U128 in zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U128</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>native_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">native_endian</a></span><h1>Type Alias <span class="type">U128</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><pre class="rust item-decl"><code>pub type U128 = <a class="struct" href="../struct.U128.html" title="struct zerocopy::byteorder::U128">U128</a><<a class="type" href="../type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">NativeEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
128-bit unsigned integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U128(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U128.js" data-self-path="zerocopy::byteorder::native_endian::U128" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/native_endian/type.U16.html
Normal file
6
zerocopy/byteorder/native_endian/type.U16.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 16-bit unsigned integer stored in native-endian byte order."><title>U16 in zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U16</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>native_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">native_endian</a></span><h1>Type Alias <span class="type">U16</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><pre class="rust item-decl"><code>pub type U16 = <a class="struct" href="../struct.U16.html" title="struct zerocopy::byteorder::U16">U16</a><<a class="type" href="../type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">NativeEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
16-bit unsigned integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U16(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U16.js" data-self-path="zerocopy::byteorder::native_endian::U16" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/native_endian/type.U32.html
Normal file
6
zerocopy/byteorder/native_endian/type.U32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit unsigned integer stored in native-endian byte order."><title>U32 in zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>native_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">native_endian</a></span><h1>Type Alias <span class="type">U32</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><pre class="rust item-decl"><code>pub type U32 = <a class="struct" href="../struct.U32.html" title="struct zerocopy::byteorder::U32">U32</a><<a class="type" href="../type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">NativeEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit unsigned integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U32.js" data-self-path="zerocopy::byteorder::native_endian::U32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/native_endian/type.U64.html
Normal file
6
zerocopy/byteorder/native_endian/type.U64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit unsigned integer stored in native-endian byte order."><title>U64 in zerocopy::byteorder::native_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>native_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">native_endian</a></span><h1>Type Alias <span class="type">U64</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/zerocopy/byteorder.rs.html#600">Source</a> </span></div><pre class="rust item-decl"><code>pub type U64 = <a class="struct" href="../struct.U64.html" title="struct zerocopy::byteorder::U64">U64</a><<a class="type" href="../type.NativeEndian.html" title="type zerocopy::byteorder::NativeEndian">NativeEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit unsigned integer
|
||||
stored in
|
||||
native-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U64.js" data-self-path="zerocopy::byteorder::native_endian::U64" async></script></section></div></main></body></html>
|
||||
44
zerocopy/byteorder/network_endian/index.html
Normal file
44
zerocopy/byteorder/network_endian/index.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<!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="Numeric primitives stored in network-endian byte order."><title>zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module network_<wbr>endian</a></h2><h3><a href="#types">Module Items</a></h3><ul class="block"><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In zerocopy::<wbr>byteorder</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a></span><h1>Module <span>network_endian</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Numeric primitives stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.F32.html" title="type zerocopy::byteorder::network_endian::F32">F32</a></div><div class="desc docblock-short">A
|
||||
32-bit floating point number
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.F64.html" title="type zerocopy::byteorder::network_endian::F64">F64</a></div><div class="desc docblock-short">A
|
||||
64-bit floating point number
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I16.html" title="type zerocopy::byteorder::network_endian::I16">I16</a></div><div class="desc docblock-short">A
|
||||
16-bit signed integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I32.html" title="type zerocopy::byteorder::network_endian::I32">I32</a></div><div class="desc docblock-short">A
|
||||
32-bit signed integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I64.html" title="type zerocopy::byteorder::network_endian::I64">I64</a></div><div class="desc docblock-short">A
|
||||
64-bit signed integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.I128.html" title="type zerocopy::byteorder::network_endian::I128">I128</a></div><div class="desc docblock-short">A
|
||||
128-bit signed integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U16.html" title="type zerocopy::byteorder::network_endian::U16">U16</a></div><div class="desc docblock-short">A
|
||||
16-bit unsigned integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U32.html" title="type zerocopy::byteorder::network_endian::U32">U32</a></div><div class="desc docblock-short">A
|
||||
32-bit unsigned integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U64.html" title="type zerocopy::byteorder::network_endian::U64">U64</a></div><div class="desc docblock-short">A
|
||||
64-bit unsigned integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</div></li><li><div class="item-name"><a class="type" href="type.U128.html" title="type zerocopy::byteorder::network_endian::U128">U128</a></div><div class="desc docblock-short">A
|
||||
128-bit unsigned integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</div></li></ul></section></div></main></body></html>
|
||||
1
zerocopy/byteorder/network_endian/sidebar-items.js
Normal file
1
zerocopy/byteorder/network_endian/sidebar-items.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"type":["F32","F64","I128","I16","I32","I64","U128","U16","U32","U64"]};
|
||||
6
zerocopy/byteorder/network_endian/type.F32.html
Normal file
6
zerocopy/byteorder/network_endian/type.F32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit floating point number stored in network-endian byte order."><title>F32 in zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">F32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>network_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">network_endian</a></span><h1>Type Alias <span class="type">F32</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><pre class="rust item-decl"><code>pub type F32 = <a class="struct" href="../struct.F32.html" title="struct zerocopy::byteorder::F32">F32</a><<a class="type" href="../type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">NetworkEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit floating point number
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct F32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.F32.js" data-self-path="zerocopy::byteorder::network_endian::F32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/network_endian/type.F64.html
Normal file
6
zerocopy/byteorder/network_endian/type.F64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit floating point number stored in network-endian byte order."><title>F64 in zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">F64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>network_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">network_endian</a></span><h1>Type Alias <span class="type">F64</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><pre class="rust item-decl"><code>pub type F64 = <a class="struct" href="../struct.F64.html" title="struct zerocopy::byteorder::F64">F64</a><<a class="type" href="../type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">NetworkEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit floating point number
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct F64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.F64.js" data-self-path="zerocopy::byteorder::network_endian::F64" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/network_endian/type.I128.html
Normal file
6
zerocopy/byteorder/network_endian/type.I128.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 128-bit signed integer stored in network-endian byte order."><title>I128 in zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I128</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>network_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">network_endian</a></span><h1>Type Alias <span class="type">I128</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><pre class="rust item-decl"><code>pub type I128 = <a class="struct" href="../struct.I128.html" title="struct zerocopy::byteorder::I128">I128</a><<a class="type" href="../type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">NetworkEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
128-bit signed integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I128(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I128.js" data-self-path="zerocopy::byteorder::network_endian::I128" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/network_endian/type.I16.html
Normal file
6
zerocopy/byteorder/network_endian/type.I16.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 16-bit signed integer stored in network-endian byte order."><title>I16 in zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I16</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>network_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">network_endian</a></span><h1>Type Alias <span class="type">I16</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><pre class="rust item-decl"><code>pub type I16 = <a class="struct" href="../struct.I16.html" title="struct zerocopy::byteorder::I16">I16</a><<a class="type" href="../type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">NetworkEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
16-bit signed integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I16(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I16.js" data-self-path="zerocopy::byteorder::network_endian::I16" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/network_endian/type.I32.html
Normal file
6
zerocopy/byteorder/network_endian/type.I32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit signed integer stored in network-endian byte order."><title>I32 in zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>network_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">network_endian</a></span><h1>Type Alias <span class="type">I32</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><pre class="rust item-decl"><code>pub type I32 = <a class="struct" href="../struct.I32.html" title="struct zerocopy::byteorder::I32">I32</a><<a class="type" href="../type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">NetworkEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit signed integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I32.js" data-self-path="zerocopy::byteorder::network_endian::I32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/network_endian/type.I64.html
Normal file
6
zerocopy/byteorder/network_endian/type.I64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit signed integer stored in network-endian byte order."><title>I64 in zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">I64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>network_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">network_endian</a></span><h1>Type Alias <span class="type">I64</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><pre class="rust item-decl"><code>pub type I64 = <a class="struct" href="../struct.I64.html" title="struct zerocopy::byteorder::I64">I64</a><<a class="type" href="../type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">NetworkEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit signed integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct I64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.I64.js" data-self-path="zerocopy::byteorder::network_endian::I64" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/network_endian/type.U128.html
Normal file
6
zerocopy/byteorder/network_endian/type.U128.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 128-bit unsigned integer stored in network-endian byte order."><title>U128 in zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U128</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>network_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">network_endian</a></span><h1>Type Alias <span class="type">U128</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><pre class="rust item-decl"><code>pub type U128 = <a class="struct" href="../struct.U128.html" title="struct zerocopy::byteorder::U128">U128</a><<a class="type" href="../type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">NetworkEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
128-bit unsigned integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U128(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U128.js" data-self-path="zerocopy::byteorder::network_endian::U128" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/network_endian/type.U16.html
Normal file
6
zerocopy/byteorder/network_endian/type.U16.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 16-bit unsigned integer stored in network-endian byte order."><title>U16 in zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U16</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>network_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">network_endian</a></span><h1>Type Alias <span class="type">U16</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><pre class="rust item-decl"><code>pub type U16 = <a class="struct" href="../struct.U16.html" title="struct zerocopy::byteorder::U16">U16</a><<a class="type" href="../type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">NetworkEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
16-bit unsigned integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U16(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U16.js" data-self-path="zerocopy::byteorder::network_endian::U16" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/network_endian/type.U32.html
Normal file
6
zerocopy/byteorder/network_endian/type.U32.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 32-bit unsigned integer stored in network-endian byte order."><title>U32 in zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U32</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>network_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">network_endian</a></span><h1>Type Alias <span class="type">U32</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><pre class="rust item-decl"><code>pub type U32 = <a class="struct" href="../struct.U32.html" title="struct zerocopy::byteorder::U32">U32</a><<a class="type" href="../type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">NetworkEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
32-bit unsigned integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U32(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U32.js" data-self-path="zerocopy::byteorder::network_endian::U32" async></script></section></div></main></body></html>
|
||||
6
zerocopy/byteorder/network_endian/type.U64.html
Normal file
6
zerocopy/byteorder/network_endian/type.U64.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!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="A 64-bit unsigned integer stored in network-endian byte order."><title>U64 in zerocopy::byteorder::network_endian - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">U64</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder::<wbr>network_<wbr>endian</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">zerocopy</a>::<wbr><a href="../index.html">byteorder</a>::<wbr><a href="index.html">network_endian</a></span><h1>Type Alias <span class="type">U64</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/zerocopy/byteorder.rs.html#599">Source</a> </span></div><pre class="rust item-decl"><code>pub type U64 = <a class="struct" href="../struct.U64.html" title="struct zerocopy::byteorder::U64">U64</a><<a class="type" href="../type.NetworkEndian.html" title="type zerocopy::byteorder::NetworkEndian">NetworkEndian</a>>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A
|
||||
64-bit unsigned integer
|
||||
stored in
|
||||
network-endian
|
||||
byte order.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct U64(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../type.impl/zerocopy/byteorder/struct.U64.js" data-self-path="zerocopy::byteorder::network_endian::U64" async></script></section></div></main></body></html>
|
||||
1
zerocopy/byteorder/sidebar-items.js
Normal file
1
zerocopy/byteorder/sidebar-items.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"enum":["BigEndian","LittleEndian"],"mod":["big_endian","little_endian","native_endian","network_endian"],"struct":["F32","F64","I128","I16","I32","I64","U128","U16","U32","U64"],"trait":["ByteOrder"],"type":["BE","LE","NativeEndian","NetworkEndian"]};
|
||||
89
zerocopy/byteorder/struct.F32.html
Normal file
89
zerocopy/byteorder/struct.F32.html
Normal file
File diff suppressed because one or more lines are too long
89
zerocopy/byteorder/struct.F64.html
Normal file
89
zerocopy/byteorder/struct.F64.html
Normal file
File diff suppressed because one or more lines are too long
89
zerocopy/byteorder/struct.I128.html
Normal file
89
zerocopy/byteorder/struct.I128.html
Normal file
File diff suppressed because one or more lines are too long
89
zerocopy/byteorder/struct.I16.html
Normal file
89
zerocopy/byteorder/struct.I16.html
Normal file
File diff suppressed because one or more lines are too long
89
zerocopy/byteorder/struct.I32.html
Normal file
89
zerocopy/byteorder/struct.I32.html
Normal file
File diff suppressed because one or more lines are too long
89
zerocopy/byteorder/struct.I64.html
Normal file
89
zerocopy/byteorder/struct.I64.html
Normal file
File diff suppressed because one or more lines are too long
93
zerocopy/byteorder/struct.U128.html
Normal file
93
zerocopy/byteorder/struct.U128.html
Normal file
File diff suppressed because one or more lines are too long
93
zerocopy/byteorder/struct.U16.html
Normal file
93
zerocopy/byteorder/struct.U16.html
Normal file
File diff suppressed because one or more lines are too long
93
zerocopy/byteorder/struct.U32.html
Normal file
93
zerocopy/byteorder/struct.U32.html
Normal file
File diff suppressed because one or more lines are too long
93
zerocopy/byteorder/struct.U64.html
Normal file
93
zerocopy/byteorder/struct.U64.html
Normal file
File diff suppressed because one or more lines are too long
971
zerocopy/byteorder/trait.ByteOrder.html
Normal file
971
zerocopy/byteorder/trait.ByteOrder.html
Normal file
File diff suppressed because one or more lines are too long
2
zerocopy/byteorder/type.BE.html
Normal file
2
zerocopy/byteorder/type.BE.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<!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="A type alias for `BigEndian`."><title>BE in zerocopy::byteorder - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">BE</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder</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">zerocopy</a>::<wbr><a href="index.html">byteorder</a></span><h1>Type Alias <span class="type">BE</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/byteorder/lib.rs.html#1824">Source</a> </span></div><pre class="rust item-decl"><code>pub type BE = <a class="enum" href="enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A type alias for <a href="enum.BigEndian.html"><code>BigEndian</code></a>.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>enum BE {}</code></pre><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"></div><script src="../../type.impl/zerocopy/byteorder/enum.BigEndian.js" data-self-path="zerocopy::byteorder::BE" async></script></section></div></main></body></html>
|
||||
2
zerocopy/byteorder/type.LE.html
Normal file
2
zerocopy/byteorder/type.LE.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<!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="A type alias for `LittleEndian`."><title>LE in zerocopy::byteorder - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">LE</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder</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">zerocopy</a>::<wbr><a href="index.html">byteorder</a></span><h1>Type Alias <span class="type">LE</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/byteorder/lib.rs.html#1854">Source</a> </span></div><pre class="rust item-decl"><code>pub type LE = <a class="enum" href="enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A type alias for <a href="enum.LittleEndian.html"><code>LittleEndian</code></a>.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>enum LE {}</code></pre><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"></div><script src="../../type.impl/zerocopy/byteorder/enum.LittleEndian.js" data-self-path="zerocopy::byteorder::LE" async></script></section></div></main></body></html>
|
||||
5
zerocopy/byteorder/type.NativeEndian.html
Normal file
5
zerocopy/byteorder/type.NativeEndian.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<!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="Defines system native-endian serialization."><title>NativeEndian in zerocopy::byteorder - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Native<wbr>Endian</a></h2><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder</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">zerocopy</a>::<wbr><a href="index.html">byteorder</a></span><h1>Type Alias <span class="type">NativeEndian</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/byteorder/lib.rs.html#1891">Source</a> </span></div><pre class="rust item-decl"><code>pub type NativeEndian = <a class="enum" href="enum.LittleEndian.html" title="enum zerocopy::byteorder::LittleEndian">LittleEndian</a>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Defines system native-endian serialization.</p>
|
||||
<p>Note that this type has no value constructor. It is used purely at the
|
||||
type level.</p>
|
||||
<p>On this platform, this is an alias for <a href="enum.LittleEndian.html"><code>LittleEndian</code></a>.</p>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>enum NativeEndian {}</code></pre><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"></div><script src="../../type.impl/zerocopy/byteorder/enum.LittleEndian.js" data-self-path="zerocopy::byteorder::NativeEndian" async></script></section></div></main></body></html>
|
||||
15
zerocopy/byteorder/type.NetworkEndian.html
Normal file
15
zerocopy/byteorder/type.NetworkEndian.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!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="Defines network byte order serialization."><title>NetworkEndian in zerocopy::byteorder - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 type"><!--[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="../../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Network<wbr>Endian</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul><h3><a href="#aliased-type">Aliased type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In zerocopy::<wbr>byteorder</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">zerocopy</a>::<wbr><a href="index.html">byteorder</a></span><h1>Type Alias <span class="type">NetworkEndian</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/byteorder/lib.rs.html#1880">Source</a> </span></div><pre class="rust item-decl"><code>pub type NetworkEndian = <a class="enum" href="enum.BigEndian.html" title="enum zerocopy::byteorder::BigEndian">BigEndian</a>;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Defines network byte order serialization.</p>
|
||||
<p>Network byte order is defined by <a href="https://tools.ietf.org/html/rfc1700">RFC 1700</a> to be big-endian, and is
|
||||
referred to in several protocol specifications. This type is an alias of
|
||||
<a href="enum.BigEndian.html"><code>BigEndian</code></a>.</p>
|
||||
<p>Note that this type has no value constructor. It is used purely at the
|
||||
type level.</p>
|
||||
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
|
||||
<p>Write and read <code>i16</code> numbers in big endian order:</p>
|
||||
|
||||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>byteorder::{ByteOrder, NetworkEndian, BigEndian};
|
||||
|
||||
<span class="kw">let </span><span class="kw-2">mut </span>buf = [<span class="number">0</span>; <span class="number">2</span>];
|
||||
BigEndian::write_i16(<span class="kw-2">&mut </span>buf, -<span class="number">5_000</span>);
|
||||
<span class="macro">assert_eq!</span>(-<span class="number">5_000</span>, NetworkEndian::read_i16(<span class="kw-2">&</span>buf));</code></pre></div>
|
||||
</div></details><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>enum NetworkEndian {}</code></pre><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"></div><script src="../../type.impl/zerocopy/byteorder/enum.BigEndian.js" data-self-path="zerocopy::byteorder::NetworkEndian" async></script></section></div></main></body></html>
|
||||
76
zerocopy/derive.AsBytes.html
Normal file
76
zerocopy/derive.AsBytes.html
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
<!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="Analyzes whether a type is `AsBytes`."><title>AsBytes in zerocopy - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 derive"><!--[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="../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">AsBytes</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#error-messages" title="Error Messages">Error Messages</a></li><li><a href="#analysis" title="Analysis">Analysis</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate zerocopy</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">zerocopy</a></span><h1>Derive Macro <span class="derive">AsBytes</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/zerocopy_derive/lib.rs.html#269">Source</a> </span></div><pre class="rust item-decl"><code>#[derive(AsBytes)]</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Analyzes whether a type is <a href="trait.AsBytes.html" title="trait zerocopy::AsBytes"><code>AsBytes</code></a>.</p>
|
||||
<p>This derive analyzes, at compile time, whether the annotated type satisfies
|
||||
the <a href="trait.AsBytes.html#safety" title="trait zerocopy::AsBytes">safety conditions</a> of <code>AsBytes</code> and implements <code>AsBytes</code> if it is
|
||||
sound to do so. This derive can be applied to structs, enums, and unions;
|
||||
e.g.:</p>
|
||||
|
||||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="attr">#[derive(AsBytes)]
|
||||
#[repr(C)]
|
||||
</span><span class="kw">struct </span>MyStruct {
|
||||
...
|
||||
}
|
||||
|
||||
<span class="attr">#[derive(AsBytes)]
|
||||
#[repr(u8)]
|
||||
</span><span class="kw">enum </span>MyEnum {
|
||||
...
|
||||
}
|
||||
|
||||
<span class="attr">#[derive(AsBytes)]
|
||||
#[repr(C)]
|
||||
</span><span class="kw">union </span>MyUnion {
|
||||
...
|
||||
}</code></pre></div>
|
||||
<h2 id="error-messages"><a class="doc-anchor" href="#error-messages">§</a>Error Messages</h2>
|
||||
<p>Due to the way that the custom derive for <code>AsBytes</code> is implemented, you may
|
||||
get an error like this:</p>
|
||||
<div class="example-wrap"><pre class="language-text"><code>error[E0277]: the trait bound `HasPadding<Foo, true>: ShouldBe<false>` is not satisfied
|
||||
--> lib.rs:23:10
|
||||
|
|
||||
1 | #[derive(AsBytes)]
|
||||
| ^^^^^^^ the trait `ShouldBe<false>` is not implemented for `HasPadding<Foo, true>`
|
||||
|
|
||||
= help: the trait `ShouldBe<VALUE>` is implemented for `HasPadding<T, VALUE>`</code></pre></div>
|
||||
<p>This error indicates that the type being annotated has padding bytes, which
|
||||
is illegal for <code>AsBytes</code> types. Consider reducing the alignment of some
|
||||
fields by using types in the <a href="byteorder/index.html" title="mod zerocopy::byteorder"><code>byteorder</code></a> module, adding explicit struct
|
||||
fields where those padding bytes would be, or using <code>#[repr(packed)]</code>. See
|
||||
the Rust Reference’s page on <a href="https://doc.rust-lang.org/reference/type-layout.html">type layout</a> for more information
|
||||
about type layout and padding.</p>
|
||||
<h2 id="analysis"><a class="doc-anchor" href="#analysis">§</a>Analysis</h2>
|
||||
<p><em>This section describes, roughly, the analysis performed by this derive to
|
||||
determine whether it is sound to implement <code>AsBytes</code> for a given type.
|
||||
Unless you are modifying the implementation of this derive, or attempting to
|
||||
manually implement <code>AsBytes</code> for a type yourself, you don’t need to read
|
||||
this section.</em></p>
|
||||
<p>If a type has the following properties, then this derive can implement
|
||||
<code>AsBytes</code> for that type:</p>
|
||||
<ul>
|
||||
<li>If the type is a struct:
|
||||
<ul>
|
||||
<li>It must have a defined representation (<code>repr(C)</code>, <code>repr(transparent)</code>,
|
||||
or <code>repr(packed)</code>).</li>
|
||||
<li>All of its fields must be <code>AsBytes</code>.</li>
|
||||
<li>Its layout must have no padding. This is always true for
|
||||
<code>repr(transparent)</code> and <code>repr(packed)</code>. For <code>repr(C)</code>, see the layout
|
||||
algorithm described in the <a href="https://doc.rust-lang.org/reference/type-layout.html">Rust Reference</a>.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>If the type is an enum:
|
||||
<ul>
|
||||
<li>It must be a C-like enum (meaning that all variants have no fields).</li>
|
||||
<li>It must have a defined representation (<code>repr</code>s <code>C</code>, <code>u8</code>, <code>u16</code>, <code>u32</code>,
|
||||
<code>u64</code>, <code>usize</code>, <code>i8</code>, <code>i16</code>, <code>i32</code>, <code>i64</code>, or <code>isize</code>).</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>The type must not contain any <a href="https://doc.rust-lang.org/1.84.1/core/cell/struct.UnsafeCell.html" title="struct core::cell::UnsafeCell"><code>UnsafeCell</code></a>s (this is required in order
|
||||
for it to be sound to construct a <code>&[u8]</code> and a <code>&T</code> to the same region of
|
||||
memory). The type may contain references or pointers to <code>UnsafeCell</code>s so
|
||||
long as those values can themselves be initialized from zeroes (<code>AsBytes</code>
|
||||
is not currently implemented for, e.g., <code>Option<&UnsafeCell<_>></code>, but it
|
||||
could be one day).</li>
|
||||
</ul>
|
||||
<p>This analysis is subject to change. Unsafe code may <em>only</em> rely on the
|
||||
documented <a href="trait.AsBytes.html#safety" title="trait zerocopy::AsBytes">safety conditions</a> of <code>FromBytes</code>, and must <em>not</em> rely on the
|
||||
implementation details of this derive.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
72
zerocopy/derive.FromBytes.html
Normal file
72
zerocopy/derive.FromBytes.html
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
<!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="Analyzes whether a type is `FromBytes`."><title>FromBytes in zerocopy - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 derive"><!--[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="../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">From<wbr>Bytes</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#analysis" title="Analysis">Analysis</a><ul><li><a href="#why-isnt-an-explicit-representation-required-for-structs" title="Why isn’t an explicit representation required for structs?">Why isn’t an explicit representation required for structs?</a></li></ul></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate zerocopy</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">zerocopy</a></span><h1>Derive Macro <span class="derive">FromBytes</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/zerocopy_derive/lib.rs.html#258">Source</a> </span></div><pre class="rust item-decl"><code>#[derive(FromBytes)]</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Analyzes whether a type is <a href="trait.FromBytes.html" title="trait zerocopy::FromBytes"><code>FromBytes</code></a>.</p>
|
||||
<p>This derive analyzes, at compile time, whether the annotated type satisfies
|
||||
the <a href="trait.FromBytes.html#safety" title="trait zerocopy::FromBytes">safety conditions</a> of <code>FromBytes</code> and implements <code>FromBytes</code> if it is
|
||||
sound to do so. This derive can be applied to structs, enums, and unions;
|
||||
e.g.:</p>
|
||||
|
||||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="attr">#[derive(FromZeroes, FromBytes)]
|
||||
</span><span class="kw">struct </span>MyStruct {
|
||||
...
|
||||
}
|
||||
|
||||
<span class="attr">#[derive(FromZeroes, FromBytes)]
|
||||
#[repr(u8)]
|
||||
</span><span class="kw">enum </span>MyEnum {
|
||||
...
|
||||
}
|
||||
|
||||
<span class="attr">#[derive(FromZeroes, FromBytes)]
|
||||
</span><span class="kw">union </span>MyUnion {
|
||||
...
|
||||
}</code></pre></div>
|
||||
<h2 id="analysis"><a class="doc-anchor" href="#analysis">§</a>Analysis</h2>
|
||||
<p><em>This section describes, roughly, the analysis performed by this derive to
|
||||
determine whether it is sound to implement <code>FromBytes</code> for a given type.
|
||||
Unless you are modifying the implementation of this derive, or attempting to
|
||||
manually implement <code>FromBytes</code> for a type yourself, you don’t need to read
|
||||
this section.</em></p>
|
||||
<p>If a type has the following properties, then this derive can implement
|
||||
<code>FromBytes</code> for that type:</p>
|
||||
<ul>
|
||||
<li>If the type is a struct, all of its fields must be <code>FromBytes</code>.</li>
|
||||
<li>If the type is an enum:
|
||||
<ul>
|
||||
<li>It must be a C-like enum (meaning that all variants have no fields).</li>
|
||||
<li>It must have a defined representation (<code>repr</code>s <code>C</code>, <code>u8</code>, <code>u16</code>, <code>u32</code>,
|
||||
<code>u64</code>, <code>usize</code>, <code>i8</code>, <code>i16</code>, <code>i32</code>, <code>i64</code>, or <code>isize</code>).</li>
|
||||
<li>The maximum number of discriminants must be used (so that every possible
|
||||
bit pattern is a valid one). Be very careful when using the <code>C</code>,
|
||||
<code>usize</code>, or <code>isize</code> representations, as their size is
|
||||
platform-dependent.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>The type must not contain any <a href="https://doc.rust-lang.org/1.84.1/core/cell/struct.UnsafeCell.html" title="struct core::cell::UnsafeCell"><code>UnsafeCell</code></a>s (this is required in order
|
||||
for it to be sound to construct a <code>&[u8]</code> and a <code>&T</code> to the same region of
|
||||
memory). The type may contain references or pointers to <code>UnsafeCell</code>s so
|
||||
long as those values can themselves be initialized from zeroes
|
||||
(<code>FromBytes</code> is not currently implemented for, e.g., <code>Option<*const UnsafeCell<_>></code>, but it could be one day).</li>
|
||||
</ul>
|
||||
<p>This analysis is subject to change. Unsafe code may <em>only</em> rely on the
|
||||
documented <a href="trait.FromBytes.html#safety" title="trait zerocopy::FromBytes">safety conditions</a> of <code>FromBytes</code>, and must <em>not</em> rely on the
|
||||
implementation details of this derive.</p>
|
||||
<h3 id="why-isnt-an-explicit-representation-required-for-structs"><a class="doc-anchor" href="#why-isnt-an-explicit-representation-required-for-structs">§</a>Why isn’t an explicit representation required for structs?</h3>
|
||||
<p>Neither this derive, nor the <a href="trait.FromBytes.html#safety" title="trait zerocopy::FromBytes">safety conditions</a> of <code>FromBytes</code>, requires
|
||||
that structs are marked with <code>#[repr(C)]</code>.</p>
|
||||
<p>Per the <a href="https://doc.rust-lang.org/1.84.1/core/primitive.reference.html" title="primitive reference">Rust reference</a>,</p>
|
||||
<blockquote>
|
||||
<p>The representation of a type can change the padding between fields, but
|
||||
does not change the layout of the fields themselves.</p>
|
||||
</blockquote>
|
||||
<p>Since the layout of structs only consists of padding bytes and field bytes,
|
||||
a struct is soundly <code>FromBytes</code> if:</p>
|
||||
<ol>
|
||||
<li>its padding is soundly <code>FromBytes</code>, and</li>
|
||||
<li>its fields are soundly <code>FromBytes</code>.</li>
|
||||
</ol>
|
||||
<p>The answer to the first question is always yes: padding bytes do not have
|
||||
any validity constraints. A <a href="https://github.com/rust-lang/unsafe-code-guidelines/issues/174">discussion</a> of this question in the Unsafe Code
|
||||
Guidelines Working Group concluded that it would be virtually unimaginable
|
||||
for future versions of rustc to add validity constraints to padding bytes.</p>
|
||||
<p>Whether a struct is soundly <code>FromBytes</code> therefore solely depends on whether
|
||||
its fields are <code>FromBytes</code>.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
65
zerocopy/derive.FromZeroes.html
Normal file
65
zerocopy/derive.FromZeroes.html
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<!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="Analyzes whether a type is `FromZeroes`."><title>FromZeroes in zerocopy - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 derive"><!--[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="../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">From<wbr>Zeroes</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#analysis" title="Analysis">Analysis</a><ul><li><a href="#why-isnt-an-explicit-representation-required-for-structs" title="Why isn’t an explicit representation required for structs?">Why isn’t an explicit representation required for structs?</a></li></ul></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate zerocopy</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">zerocopy</a></span><h1>Derive Macro <span class="derive">FromZeroes</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/zerocopy_derive/lib.rs.html#247">Source</a> </span></div><pre class="rust item-decl"><code>#[derive(FromZeroes)]</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Analyzes whether a type is <a href="trait.FromZeroes.html" title="trait zerocopy::FromZeroes"><code>FromZeroes</code></a>.</p>
|
||||
<p>This derive analyzes, at compile time, whether the annotated type satisfies
|
||||
the <a href="trait.FromZeroes.html#safety" title="trait zerocopy::FromZeroes">safety conditions</a> of <code>FromZeroes</code> and implements <code>FromZeroes</code> if it is
|
||||
sound to do so. This derive can be applied to structs, enums, and unions;
|
||||
e.g.:</p>
|
||||
|
||||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="attr">#[derive(FromZeroes)]
|
||||
</span><span class="kw">struct </span>MyStruct {
|
||||
...
|
||||
}
|
||||
|
||||
<span class="attr">#[derive(FromZeroes)]
|
||||
#[repr(u8)]
|
||||
</span><span class="kw">enum </span>MyEnum {
|
||||
...
|
||||
}
|
||||
|
||||
<span class="attr">#[derive(FromZeroes)]
|
||||
</span><span class="kw">union </span>MyUnion {
|
||||
...
|
||||
}</code></pre></div>
|
||||
<h2 id="analysis"><a class="doc-anchor" href="#analysis">§</a>Analysis</h2>
|
||||
<p><em>This section describes, roughly, the analysis performed by this derive to
|
||||
determine whether it is sound to implement <code>FromZeroes</code> for a given type.
|
||||
Unless you are modifying the implementation of this derive, or attempting to
|
||||
manually implement <code>FromZeroes</code> for a type yourself, you don’t need to read
|
||||
this section.</em></p>
|
||||
<p>If a type has the following properties, then this derive can implement
|
||||
<code>FromZeroes</code> for that type:</p>
|
||||
<ul>
|
||||
<li>If the type is a struct, all of its fields must be <code>FromZeroes</code>.</li>
|
||||
<li>If the type is an enum, it must be C-like (meaning that all variants have
|
||||
no fields) and it must have a variant with a discriminant of <code>0</code>. See <a href="https://doc.rust-lang.org/reference/items/enumerations.html#custom-discriminant-values-for-fieldless-enumerations">the
|
||||
reference</a> for a description of how discriminant values are chosen.</li>
|
||||
<li>The type must not contain any <a href="https://doc.rust-lang.org/1.84.1/core/cell/struct.UnsafeCell.html" title="struct core::cell::UnsafeCell"><code>UnsafeCell</code></a>s (this is required in order
|
||||
for it to be sound to construct a <code>&[u8]</code> and a <code>&T</code> to the same region of
|
||||
memory). The type may contain references or pointers to <code>UnsafeCell</code>s so
|
||||
long as those values can themselves be initialized from zeroes
|
||||
(<code>FromZeroes</code> is not currently implemented for, e.g.,
|
||||
<code>Option<&UnsafeCell<_>></code>, but it could be one day).</li>
|
||||
</ul>
|
||||
<p>This analysis is subject to change. Unsafe code may <em>only</em> rely on the
|
||||
documented <a href="trait.FromZeroes.html#safety" title="trait zerocopy::FromZeroes">safety conditions</a> of <code>FromZeroes</code>, and must <em>not</em> rely on the
|
||||
implementation details of this derive.</p>
|
||||
<h3 id="why-isnt-an-explicit-representation-required-for-structs"><a class="doc-anchor" href="#why-isnt-an-explicit-representation-required-for-structs">§</a>Why isn’t an explicit representation required for structs?</h3>
|
||||
<p>Neither this derive, nor the <a href="trait.FromZeroes.html#safety" title="trait zerocopy::FromZeroes">safety conditions</a> of <code>FromZeroes</code>, requires
|
||||
that structs are marked with <code>#[repr(C)]</code>.</p>
|
||||
<p>Per the <a href="https://doc.rust-lang.org/1.84.1/core/primitive.reference.html" title="primitive reference">Rust reference</a>,</p>
|
||||
<blockquote>
|
||||
<p>The representation of a type can change the padding between fields, but
|
||||
does not change the layout of the fields themselves.</p>
|
||||
</blockquote>
|
||||
<p>Since the layout of structs only consists of padding bytes and field bytes,
|
||||
a struct is soundly <code>FromZeroes</code> if:</p>
|
||||
<ol>
|
||||
<li>its padding is soundly <code>FromZeroes</code>, and</li>
|
||||
<li>its fields are soundly <code>FromZeroes</code>.</li>
|
||||
</ol>
|
||||
<p>The answer to the first question is always yes: padding bytes do not have
|
||||
any validity constraints. A <a href="https://github.com/rust-lang/unsafe-code-guidelines/issues/174">discussion</a> of this question in the Unsafe Code
|
||||
Guidelines Working Group concluded that it would be virtually unimaginable
|
||||
for future versions of rustc to add validity constraints to padding bytes.</p>
|
||||
<p>Whether a struct is soundly <code>FromZeroes</code> therefore solely depends on whether
|
||||
its fields are <code>FromZeroes</code>.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
1
zerocopy/derive.Unaligned.html
Normal file
1
zerocopy/derive.Unaligned.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
<!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 `Unaligned` derive in crate `zerocopy`."><title>Unaligned in zerocopy - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 derive"><!--[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="../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"></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">zerocopy</a></span><h1>Derive Macro <span class="derive">Unaligned</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/zerocopy_derive/lib.rs.html#280">Source</a> </span></div><pre class="rust item-decl"><code>#[derive(Unaligned)]</code></pre></section></div></main></body></html>
|
||||
115
zerocopy/index.html
Normal file
115
zerocopy/index.html
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
<!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="Want to help improve zerocopy? Fill out our user survey!"><title>zerocopy - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="../crates.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 crate"><!--[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="../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#overview" title="Overview">Overview</a></li><li><a href="#cargo-features" title="Cargo Features">Cargo Features</a></li><li><a href="#security-ethos" title="Security Ethos">Security Ethos</a></li><li><a href="#relationship-to-project-safe-transmute" title="Relationship to Project Safe Transmute">Relationship to Project Safe Transmute</a></li><li><a href="#msrv" title="MSRV">MSRV</a></li><li><a href="#changelog" title="Changelog">Changelog</a></li></ul><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#derives" title="Derive Macros">Derive Macros</a></li></ul></section><div id="rustdoc-modnav"></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"><h1>Crate <span>zerocopy</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/zerocopy/lib.rs.html#15-8284">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><em><span style="font-size: 100%; color:grey;">Want to help improve zerocopy?
|
||||
Fill out our <a href="https://docs.google.com/forms/d/e/1FAIpQLSdzBNTN9tzwsmtyZxRFNL02K36IWCdHWW2ZBckyQS2xiO3i8Q/viewform?usp=published_options">user survey</a>!</span></em></p>
|
||||
<p><em><strong><span style="font-size: 140%">Fast, safe, <span
|
||||
style="color:red;">compile error</span>. Pick two.</span></strong></em></p>
|
||||
<p>Zerocopy makes zero-cost memory manipulation effortless. We write <code>unsafe</code>
|
||||
so you don’t have to.</p>
|
||||
<h2 id="overview"><a class="doc-anchor" href="#overview">§</a>Overview</h2>
|
||||
<p>Zerocopy provides four core marker traits, each of which can be derived
|
||||
(e.g., <code>#[derive(FromZeroes)]</code>):</p>
|
||||
<ul>
|
||||
<li><a href="trait.FromZeroes.html" title="trait zerocopy::FromZeroes"><code>FromZeroes</code></a> indicates that a sequence of zero bytes represents a valid
|
||||
instance of a type</li>
|
||||
<li><a href="trait.FromBytes.html" title="trait zerocopy::FromBytes"><code>FromBytes</code></a> indicates that a type may safely be converted from an
|
||||
arbitrary byte sequence</li>
|
||||
<li><a href="trait.AsBytes.html" title="trait zerocopy::AsBytes"><code>AsBytes</code></a> indicates that a type may safely be converted <em>to</em> a byte
|
||||
sequence</li>
|
||||
<li><a href="trait.Unaligned.html" title="trait zerocopy::Unaligned"><code>Unaligned</code></a> indicates that a type’s alignment requirement is 1</li>
|
||||
</ul>
|
||||
<p>Types which implement a subset of these traits can then be converted to/from
|
||||
byte sequences with little to no runtime overhead.</p>
|
||||
<p>Zerocopy also provides byte-order aware integer types that support these
|
||||
conversions; see the <a href="byteorder/index.html" title="mod zerocopy::byteorder"><code>byteorder</code></a> module. These types are especially useful
|
||||
for network parsing.</p>
|
||||
<h2 id="cargo-features"><a class="doc-anchor" href="#cargo-features">§</a>Cargo Features</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<p><strong><code>alloc</code></strong><br />
|
||||
By default, <code>zerocopy</code> is <code>no_std</code>. When the <code>alloc</code> feature is enabled,
|
||||
the <code>alloc</code> crate is added as a dependency, and some allocation-related
|
||||
functionality is added.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong><code>byteorder</code></strong> (enabled by default)<br />
|
||||
Adds the <a href="byteorder/index.html" title="mod zerocopy::byteorder"><code>byteorder</code></a> module and a dependency on the <code>byteorder</code> crate.
|
||||
The <code>byteorder</code> module provides byte order-aware equivalents of the
|
||||
multi-byte primitive numerical types. Unlike their primitive equivalents,
|
||||
the types in this module have no alignment requirement and support byte
|
||||
order conversions. This can be useful in handling file formats, network
|
||||
packet layouts, etc which don’t provide alignment guarantees and which may
|
||||
use a byte order different from that of the execution platform.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong><code>derive</code></strong><br />
|
||||
Provides derives for the core marker traits via the <code>zerocopy-derive</code>
|
||||
crate. These derives are re-exported from <code>zerocopy</code>, so it is not
|
||||
necessary to depend on <code>zerocopy-derive</code> directly.</p>
|
||||
<p>However, you may experience better compile times if you instead directly
|
||||
depend on both <code>zerocopy</code> and <code>zerocopy-derive</code> in your <code>Cargo.toml</code>,
|
||||
since doing so will allow Rust to compile these crates in parallel. To do
|
||||
so, do <em>not</em> enable the <code>derive</code> feature, and list both dependencies in
|
||||
your <code>Cargo.toml</code> with the same leading non-zero version number; e.g:</p>
|
||||
<div class="example-wrap"><pre class="language-toml"><code>[dependencies]
|
||||
zerocopy = "0.X"
|
||||
zerocopy-derive = "0.X"</code></pre></div></li>
|
||||
<li>
|
||||
<p><strong><code>simd</code></strong><br />
|
||||
When the <code>simd</code> feature is enabled, <code>FromZeroes</code>, <code>FromBytes</code>, and
|
||||
<code>AsBytes</code> impls are emitted for all stable SIMD types which exist on the
|
||||
target platform. Note that the layout of SIMD types is not yet stabilized,
|
||||
so these impls may be removed in the future if layout changes make them
|
||||
invalid. For more information, see the Unsafe Code Guidelines Reference
|
||||
page on the <a href="https://rust-lang.github.io/unsafe-code-guidelines/layout/packed-simd-vectors.html">layout of packed SIMD vectors</a>.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><strong><code>simd-nightly</code></strong><br />
|
||||
Enables the <code>simd</code> feature and adds support for SIMD types which are only
|
||||
available on nightly. Since these types are unstable, support for any type
|
||||
may be removed at any point in the future.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="security-ethos"><a class="doc-anchor" href="#security-ethos">§</a>Security Ethos</h2>
|
||||
<p>Zerocopy is expressly designed for use in security-critical contexts. We
|
||||
strive to ensure that that zerocopy code is sound under Rust’s current
|
||||
memory model, and <em>any future memory model</em>. We ensure this by:</p>
|
||||
<ul>
|
||||
<li><strong>…not ‘guessing’ about Rust’s semantics.</strong><br />
|
||||
We annotate <code>unsafe</code> code with a precise rationale for its soundness that
|
||||
cites a relevant section of Rust’s official documentation. When Rust’s
|
||||
documented semantics are unclear, we work with the Rust Operational
|
||||
Semantics Team to clarify Rust’s documentation.</li>
|
||||
<li><strong>…rigorously testing our implementation.</strong><br />
|
||||
We run tests using <a href="https://github.com/rust-lang/miri">Miri</a>, ensuring that zerocopy is sound across a wide
|
||||
array of supported target platforms of varying endianness and pointer
|
||||
width, and across both current and experimental memory models of Rust.</li>
|
||||
<li><strong>…formally proving the correctness of our implementation.</strong><br />
|
||||
We apply formal verification tools like <a href="https://github.com/model-checking/kani">Kani</a> to prove zerocopy’s
|
||||
correctness.</li>
|
||||
</ul>
|
||||
<p>For more information, see our full <a href="https://github.com/google/zerocopy/blob/main/POLICIES.md#soundness">soundness policy</a>.</p>
|
||||
<h2 id="relationship-to-project-safe-transmute"><a class="doc-anchor" href="#relationship-to-project-safe-transmute">§</a>Relationship to Project Safe Transmute</h2>
|
||||
<p><a href="https://rust-lang.github.io/rfcs/2835-project-safe-transmute.html">Project Safe Transmute</a> is an official initiative of the Rust Project to
|
||||
develop language-level support for safer transmutation. The Project consults
|
||||
with crates like zerocopy to identify aspects of safer transmutation that
|
||||
would benefit from compiler support, and has developed an <a href="https://github.com/rust-lang/compiler-team/issues/411">experimental,
|
||||
compiler-supported analysis</a> which determines whether,
|
||||
for a given type, any value of that type may be soundly transmuted into
|
||||
another type. Once this functionality is sufficiently mature, zerocopy
|
||||
intends to replace its internal transmutability analysis (implemented by our
|
||||
custom derives) with the compiler-supported one. This change will likely be
|
||||
an implementation detail that is invisible to zerocopy’s users.</p>
|
||||
<p>Project Safe Transmute will not replace the need for most of zerocopy’s
|
||||
higher-level abstractions. The experimental compiler analysis is a tool for
|
||||
checking the soundness of <code>unsafe</code> code, not a tool to avoid writing
|
||||
<code>unsafe</code> code altogether. For the foreseeable future, crates like zerocopy
|
||||
will still be required in order to provide higher-level abstractions on top
|
||||
of the building block provided by Project Safe Transmute.</p>
|
||||
<h2 id="msrv"><a class="doc-anchor" href="#msrv">§</a>MSRV</h2>
|
||||
<p>See our <a href="https://github.com/google/zerocopy/blob/main/POLICIES.md#msrv">MSRV policy</a>.</p>
|
||||
<h2 id="changelog"><a class="doc-anchor" href="#changelog">§</a>Changelog</h2>
|
||||
<p>Zerocopy uses <a href="https://github.com/google/zerocopy/releases">GitHub Releases</a>.</p>
|
||||
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><code>pub use crate::<a class="mod" href="byteorder/index.html" title="mod zerocopy::byteorder">byteorder</a>::*;</code></div></li></ul><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="byteorder/index.html" title="mod zerocopy::byteorder">byteorder</a></div><div class="desc docblock-short">Byte order-aware numeric primitives.</div></li></ul><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="macro" href="macro.include_value.html" title="macro zerocopy::include_value">include_<wbr>value</a></div><div class="desc docblock-short">Includes a file and safely transmutes it to a value of an arbitrary type.</div></li><li><div class="item-name"><a class="macro" href="macro.transmute.html" title="macro zerocopy::transmute">transmute</a></div><div class="desc docblock-short">Safely transmutes a value of one type to a value of another type of the same
|
||||
size.</div></li><li><div class="item-name"><a class="macro" href="macro.transmute_mut.html" title="macro zerocopy::transmute_mut">transmute_<wbr>mut</a></div><div class="desc docblock-short">Safely transmutes a mutable reference of one type to an mutable reference of
|
||||
another type of the same size.</div></li><li><div class="item-name"><a class="macro" href="macro.transmute_ref.html" title="macro zerocopy::transmute_ref">transmute_<wbr>ref</a></div><div class="desc docblock-short">Safely transmutes a mutable or immutable reference of one type to an
|
||||
immutable reference of another type of the same size.</div></li></ul><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Ref.html" title="struct zerocopy::Ref">Ref</a></div><div class="desc docblock-short">A typed reference derived from a byte slice.</div></li><li><div class="item-name"><a class="struct" href="struct.Unalign.html" title="struct zerocopy::Unalign">Unalign</a></div><div class="desc docblock-short">A type with no alignment requirement.</div></li></ul><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.AsBytes.html" title="trait zerocopy::AsBytes">AsBytes</a></div><div class="desc docblock-short">Types that can be viewed as an immutable slice of initialized bytes.</div></li><li><div class="item-name"><a class="trait" href="trait.ByteSlice.html" title="trait zerocopy::ByteSlice">Byte<wbr>Slice</a></div><div class="desc docblock-short">A mutable or immutable reference to a byte slice.</div></li><li><div class="item-name"><a class="trait" href="trait.ByteSliceMut.html" title="trait zerocopy::ByteSliceMut">Byte<wbr>Slice<wbr>Mut</a></div><div class="desc docblock-short">A mutable reference to a byte slice.</div></li><li><div class="item-name"><a class="trait" href="trait.FromBytes.html" title="trait zerocopy::FromBytes">From<wbr>Bytes</a></div><div class="desc docblock-short">Types for which any bit pattern is valid.</div></li><li><div class="item-name"><a class="trait" href="trait.FromZeroes.html" title="trait zerocopy::FromZeroes">From<wbr>Zeroes</a></div><div class="desc docblock-short">Types for which a sequence of bytes all set to zero represents a valid
|
||||
instance of the type.</div></li><li><div class="item-name"><a class="trait" href="trait.Unaligned.html" title="trait zerocopy::Unaligned">Unaligned</a></div><div class="desc docblock-short">Types with no alignment requirement.</div></li></ul><h2 id="derives" class="section-header">Derive Macros<a href="#derives" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="derive" href="derive.AsBytes.html" title="derive zerocopy::AsBytes">AsBytes</a></div><div class="desc docblock-short">Analyzes whether a type is <a href="trait.AsBytes.html" title="trait zerocopy::AsBytes"><code>AsBytes</code></a>.</div></li><li><div class="item-name"><a class="derive" href="derive.FromBytes.html" title="derive zerocopy::FromBytes">From<wbr>Bytes</a></div><div class="desc docblock-short">Analyzes whether a type is <a href="trait.FromBytes.html" title="trait zerocopy::FromBytes"><code>FromBytes</code></a>.</div></li><li><div class="item-name"><a class="derive" href="derive.FromZeroes.html" title="derive zerocopy::FromZeroes">From<wbr>Zeroes</a></div><div class="desc docblock-short">Analyzes whether a type is <a href="trait.FromZeroes.html" title="trait zerocopy::FromZeroes"><code>FromZeroes</code></a>.</div></li><li><div class="item-name"><a class="derive" href="derive.Unaligned.html" title="derive zerocopy::Unaligned">Unaligned</a></div></li></ul></section></div></main></body></html>
|
||||
11
zerocopy/macro.include_value!.html
Normal file
11
zerocopy/macro.include_value!.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=macro.include_value.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="macro.include_value.html">macro.include_value.html</a>...</p>
|
||||
<script>location.replace("macro.include_value.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
28
zerocopy/macro.include_value.html
Normal file
28
zerocopy/macro.include_value.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<!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="Includes a file and safely transmutes it to a value of an arbitrary type."><title>include_value in zerocopy - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 macro"><!--[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="../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">include_<wbr>value</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate zerocopy</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">zerocopy</a></span><h1>Macro <span class="macro">include_value</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/zerocopy/lib.rs.html#4098-4102">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! include_value {
|
||||
($file:expr $(,)?) => { ... };
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Includes a file and safely transmutes it to a value of an arbitrary type.</p>
|
||||
<p>The file will be included as a byte array, <code>[u8; N]</code>, which will be
|
||||
transmuted to another type, <code>T</code>. <code>T</code> is inferred from the calling context,
|
||||
and must implement <a href="trait.FromBytes.html" title="trait zerocopy::FromBytes"><code>FromBytes</code></a>.</p>
|
||||
<p>The file is located relative to the current file (similarly to how modules
|
||||
are found). The provided path is interpreted in a platform-specific way at
|
||||
compile time. So, for instance, an invocation with a Windows path containing
|
||||
backslashes <code>\</code> would not compile correctly on Unix.</p>
|
||||
<p><code>include_value!</code> is ignorant of byte order. For byte order-aware types, see
|
||||
the <a href="byteorder/index.html" title="mod zerocopy::byteorder"><code>byteorder</code></a> module.</p>
|
||||
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
|
||||
<p>Assume there are two files in the same directory with the following
|
||||
contents:</p>
|
||||
<p>File <code>data</code> (no trailing newline):</p>
|
||||
<div class="example-wrap"><pre class="language-text"><code>abcd</code></pre></div>
|
||||
<p>File <code>main.rs</code>:</p>
|
||||
|
||||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>zerocopy::include_value;
|
||||
|
||||
<span class="kw">fn </span>main() {
|
||||
<span class="kw">let </span>as_u32: u32 = <span class="macro">include_value!</span>(<span class="string">"data"</span>);
|
||||
<span class="macro">assert_eq!</span>(as_u32, u32::from_ne_bytes([<span class="string">b'a'</span>, <span class="string">b'b'</span>, <span class="string">b'c'</span>, <span class="string">b'd'</span>]));
|
||||
<span class="kw">let </span>as_i32: i32 = <span class="macro">include_value!</span>(<span class="string">"data"</span>);
|
||||
<span class="macro">assert_eq!</span>(as_i32, i32::from_ne_bytes([<span class="string">b'a'</span>, <span class="string">b'b'</span>, <span class="string">b'c'</span>, <span class="string">b'd'</span>]));
|
||||
}</code></pre></div>
|
||||
</div></details></section></div></main></body></html>
|
||||
11
zerocopy/macro.transmute!.html
Normal file
11
zerocopy/macro.transmute!.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=macro.transmute.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="macro.transmute.html">macro.transmute.html</a>...</p>
|
||||
<script>location.replace("macro.transmute.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
18
zerocopy/macro.transmute.html
Normal file
18
zerocopy/macro.transmute.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<!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="Safely transmutes a value of one type to a value of another type of the same size."><title>transmute in zerocopy - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 macro"><!--[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="../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">transmute</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate zerocopy</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">zerocopy</a></span><h1>Macro <span class="macro">transmute</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/zerocopy/lib.rs.html#3778-3819">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! transmute {
|
||||
($e:expr) => { ... };
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Safely transmutes a value of one type to a value of another type of the same
|
||||
size.</p>
|
||||
<p>The expression <code>$e</code> must have a concrete type, <code>T</code>, which implements
|
||||
<code>AsBytes</code>. The <code>transmute!</code> expression must also have a concrete type, <code>U</code>
|
||||
(<code>U</code> is inferred from the calling context), and <code>U</code> must implement
|
||||
<code>FromBytes</code>.</p>
|
||||
<p>Note that the <code>T</code> produced by the expression <code>$e</code> will <em>not</em> be dropped.
|
||||
Semantically, its bits will be copied into a new value of type <code>U</code>, the
|
||||
original <code>T</code> will be forgotten, and the value of type <code>U</code> will be returned.</p>
|
||||
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
|
||||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>one_dimensional: [u8; <span class="number">8</span>] = [<span class="number">0</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>, <span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">7</span>];
|
||||
|
||||
<span class="kw">let </span>two_dimensional: [[u8; <span class="number">4</span>]; <span class="number">2</span>] = <span class="macro">transmute!</span>(one_dimensional);
|
||||
|
||||
<span class="macro">assert_eq!</span>(two_dimensional, [[<span class="number">0</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>], [<span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">7</span>]]);</code></pre></div>
|
||||
</div></details></section></div></main></body></html>
|
||||
11
zerocopy/macro.transmute_mut!.html
Normal file
11
zerocopy/macro.transmute_mut!.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=macro.transmute_mut.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="macro.transmute_mut.html">macro.transmute_mut.html</a>...</p>
|
||||
<script>location.replace("macro.transmute_mut.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
37
zerocopy/macro.transmute_mut.html
Normal file
37
zerocopy/macro.transmute_mut.html
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<!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="Safely transmutes a mutable reference of one type to an mutable reference of another type of the same size."><title>transmute_mut in zerocopy - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 macro"><!--[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="../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">transmute_<wbr>mut</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li><li><a href="#alignment-increase-error-message" title="Alignment increase error message">Alignment increase error message</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate zerocopy</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">zerocopy</a></span><h1>Macro <span class="macro">transmute_mut</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/zerocopy/lib.rs.html#3982-4054">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! transmute_mut {
|
||||
($e:expr) => { ... };
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Safely transmutes a mutable reference of one type to an mutable reference of
|
||||
another type of the same size.</p>
|
||||
<p>The expression <code>$e</code> must have a concrete type, <code>&mut T</code>, where <code>T: Sized + AsBytes</code>. The <code>transmute_mut!</code> expression must also have a concrete type,
|
||||
<code>&mut U</code> (<code>U</code> is inferred from the calling context), where <code>U: Sized + FromBytes</code>. It must be the case that <code>align_of::<T>() >= align_of::<U>()</code>.</p>
|
||||
<p>The lifetime of the input type, <code>&mut T</code>, must be the same as or outlive the
|
||||
lifetime of the output type, <code>&mut U</code>.</p>
|
||||
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
|
||||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span><span class="kw-2">mut </span>one_dimensional: [u8; <span class="number">8</span>] = [<span class="number">0</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>, <span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">7</span>];
|
||||
|
||||
<span class="kw">let </span>two_dimensional: <span class="kw-2">&mut </span>[[u8; <span class="number">4</span>]; <span class="number">2</span>] = <span class="macro">transmute_mut!</span>(<span class="kw-2">&mut </span>one_dimensional);
|
||||
|
||||
<span class="macro">assert_eq!</span>(two_dimensional, <span class="kw-2">&</span>[[<span class="number">0</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>], [<span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">7</span>]]);
|
||||
|
||||
two_dimensional.reverse();
|
||||
|
||||
<span class="macro">assert_eq!</span>(one_dimensional, [<span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">7</span>, <span class="number">0</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>]);</code></pre></div>
|
||||
<h2 id="alignment-increase-error-message"><a class="doc-anchor" href="#alignment-increase-error-message">§</a>Alignment increase error message</h2>
|
||||
<p>Because of limitations on macros, the error message generated when
|
||||
<code>transmute_mut!</code> is used to transmute from a type of lower alignment to a
|
||||
type of higher alignment is somewhat confusing. For example, the following
|
||||
code:</p>
|
||||
|
||||
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">const </span>INCREASE_ALIGNMENT: <span class="kw-2">&mut </span>u16 = <span class="macro">zerocopy::transmute_mut!</span>(<span class="kw-2">&mut </span>[<span class="number">0u8</span>; <span class="number">2</span>]);</code></pre></div>
|
||||
<p>…generates the following error:</p>
|
||||
<div class="example-wrap"><pre class="language-text"><code>error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
|
||||
--> src/lib.rs:1524:34
|
||||
|
|
||||
5 | const INCREASE_ALIGNMENT: &mut u16 = zerocopy::transmute_mut!(&mut [0u8; 2]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: source type: `AlignOf<[u8; 2]>` (8 bits)
|
||||
= note: target type: `MaxAlignsOf<[u8; 2], u16>` (16 bits)
|
||||
= note: this error originates in the macro `$crate::assert_align_gt_eq` which comes from the expansion of the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)</code></pre></div>
|
||||
<p>This is saying that <code>max(align_of::<T>(), align_of::<U>()) != align_of::<T>()</code>, which is equivalent to <code>align_of::<T>() < align_of::<U>()</code>.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
11
zerocopy/macro.transmute_ref!.html
Normal file
11
zerocopy/macro.transmute_ref!.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=macro.transmute_ref.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="macro.transmute_ref.html">macro.transmute_ref.html</a>...</p>
|
||||
<script>location.replace("macro.transmute_ref.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
33
zerocopy/macro.transmute_ref.html
Normal file
33
zerocopy/macro.transmute_ref.html
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<!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="Safely transmutes a mutable or immutable reference of one type to an immutable reference of another type of the same size."><title>transmute_ref in zerocopy - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 macro"><!--[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="../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">transmute_<wbr>ref</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li><li><a href="#alignment-increase-error-message" title="Alignment increase error message">Alignment increase error message</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate zerocopy</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">zerocopy</a></span><h1>Macro <span class="macro">transmute_ref</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/zerocopy/lib.rs.html#3872-3925">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! transmute_ref {
|
||||
($e:expr) => { ... };
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Safely transmutes a mutable or immutable reference of one type to an
|
||||
immutable reference of another type of the same size.</p>
|
||||
<p>The expression <code>$e</code> must have a concrete type, <code>&T</code> or <code>&mut T</code>, where <code>T: Sized + AsBytes</code>. The <code>transmute_ref!</code> expression must also have a concrete
|
||||
type, <code>&U</code> (<code>U</code> is inferred from the calling context), where <code>U: Sized + FromBytes</code>. It must be the case that <code>align_of::<T>() >= align_of::<U>()</code>.</p>
|
||||
<p>The lifetime of the input type, <code>&T</code> or <code>&mut T</code>, must be the same as or
|
||||
outlive the lifetime of the output type, <code>&U</code>.</p>
|
||||
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
|
||||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>one_dimensional: [u8; <span class="number">8</span>] = [<span class="number">0</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>, <span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">7</span>];
|
||||
|
||||
<span class="kw">let </span>two_dimensional: <span class="kw-2">&</span>[[u8; <span class="number">4</span>]; <span class="number">2</span>] = <span class="macro">transmute_ref!</span>(<span class="kw-2">&</span>one_dimensional);
|
||||
|
||||
<span class="macro">assert_eq!</span>(two_dimensional, <span class="kw-2">&</span>[[<span class="number">0</span>, <span class="number">1</span>, <span class="number">2</span>, <span class="number">3</span>], [<span class="number">4</span>, <span class="number">5</span>, <span class="number">6</span>, <span class="number">7</span>]]);</code></pre></div>
|
||||
<h2 id="alignment-increase-error-message"><a class="doc-anchor" href="#alignment-increase-error-message">§</a>Alignment increase error message</h2>
|
||||
<p>Because of limitations on macros, the error message generated when
|
||||
<code>transmute_ref!</code> is used to transmute from a type of lower alignment to a
|
||||
type of higher alignment is somewhat confusing. For example, the following
|
||||
code:</p>
|
||||
|
||||
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">const </span>INCREASE_ALIGNMENT: <span class="kw-2">&</span>u16 = <span class="macro">zerocopy::transmute_ref!</span>(<span class="kw-2">&</span>[<span class="number">0u8</span>; <span class="number">2</span>]);</code></pre></div>
|
||||
<p>…generates the following error:</p>
|
||||
<div class="example-wrap"><pre class="language-text"><code>error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
|
||||
--> src/lib.rs:1524:34
|
||||
|
|
||||
5 | const INCREASE_ALIGNMENT: &u16 = zerocopy::transmute_ref!(&[0u8; 2]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: source type: `AlignOf<[u8; 2]>` (8 bits)
|
||||
= note: target type: `MaxAlignsOf<[u8; 2], u16>` (16 bits)
|
||||
= note: this error originates in the macro `$crate::assert_align_gt_eq` which comes from the expansion of the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)</code></pre></div>
|
||||
<p>This is saying that <code>max(align_of::<T>(), align_of::<U>()) != align_of::<T>()</code>, which is equivalent to <code>align_of::<T>() < align_of::<U>()</code>.</p>
|
||||
</div></details></section></div></main></body></html>
|
||||
1
zerocopy/sidebar-items.js
Normal file
1
zerocopy/sidebar-items.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
window.SIDEBAR_ITEMS = {"derive":["AsBytes","FromBytes","FromZeroes","Unaligned"],"macro":["include_value","transmute","transmute_mut","transmute_ref"],"mod":["byteorder"],"struct":["Ref","Unalign"],"trait":["AsBytes","ByteSlice","ByteSliceMut","FromBytes","FromZeroes","Unaligned"]};
|
||||
368
zerocopy/struct.Ref.html
Normal file
368
zerocopy/struct.Ref.html
Normal file
File diff suppressed because one or more lines are too long
141
zerocopy/struct.Unalign.html
Normal file
141
zerocopy/struct.Unalign.html
Normal file
File diff suppressed because one or more lines are too long
249
zerocopy/trait.AsBytes.html
Normal file
249
zerocopy/trait.AsBytes.html
Normal file
File diff suppressed because one or more lines are too long
23
zerocopy/trait.ByteSlice.html
Normal file
23
zerocopy/trait.ByteSlice.html
Normal file
File diff suppressed because one or more lines are too long
9
zerocopy/trait.ByteSliceMut.html
Normal file
9
zerocopy/trait.ByteSliceMut.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<!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="A mutable reference to a byte slice."><title>ByteSliceMut in zerocopy - 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="zerocopy" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.1 (e71f9a9a9 2025-01-27)" data-channel="1.84.1" 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 trait"><!--[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="../zerocopy/index.html">zerocopy</a><span class="version">0.7.35</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Byte<wbr>Slice<wbr>Mut</a></h2><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.as_mut_ptr" title="as_mut_ptr">as_mut_ptr</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-ByteSliceMut-for-%26mut+%5Bu8%5D" title="&'a mut [u8]">&'a mut [u8]</a></li><li><a href="#impl-ByteSliceMut-for-RefMut%3C'a,+%5Bu8%5D%3E" title="RefMut<'a, [u8]>">RefMut<'a, [u8]></a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate zerocopy</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">zerocopy</a></span><h1>Trait <span class="trait">ByteSliceMut</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/zerocopy/lib.rs.html#5196-5202">Source</a> </span></div><pre class="rust item-decl"><code>pub unsafe trait ByteSliceMut: <a class="trait" href="trait.ByteSlice.html" title="trait zerocopy::ByteSlice">ByteSlice</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.1/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> {
|
||||
// Provided method
|
||||
fn <a href="#method.as_mut_ptr" class="fn">as_mut_ptr</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.1/core/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.84.1/core/primitive.u8.html">u8</a> { ... }
|
||||
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A mutable reference to a byte slice.</p>
|
||||
<p><code>ByteSliceMut</code> abstracts over various ways of storing a mutable reference to
|
||||
a byte slice, and is implemented for various special reference types such as
|
||||
<code>RefMut<[u8]></code>.</p>
|
||||
</div></details><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.as_mut_ptr" class="method"><a class="src rightside" href="../src/zerocopy/lib.rs.html#5199-5201">Source</a><h4 class="code-header">fn <a href="#method.as_mut_ptr" class="fn">as_mut_ptr</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.1/core/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.84.1/core/primitive.u8.html">u8</a></h4></section></summary><div class="docblock"><p>Gets a mutable raw pointer to the first byte in the slice.</p>
|
||||
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.84.1/reference/items/traits.html#object-safety">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><section id="impl-ByteSliceMut-for-%26mut+%5Bu8%5D" class="impl"><a class="src rightside" href="../src/zerocopy/lib.rs.html#5274">Source</a><a href="#impl-ByteSliceMut-for-%26mut+%5Bu8%5D" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="trait.ByteSliceMut.html" title="trait zerocopy::ByteSliceMut">ByteSliceMut</a> for &'a mut [<a class="primitive" href="https://doc.rust-lang.org/1.84.1/core/primitive.u8.html">u8</a>]</h3></section><section id="impl-ByteSliceMut-for-RefMut%3C'a,+%5Bu8%5D%3E" class="impl"><a class="src rightside" href="../src/zerocopy/lib.rs.html#5278">Source</a><a href="#impl-ByteSliceMut-for-RefMut%3C'a,+%5Bu8%5D%3E" class="anchor">§</a><h3 class="code-header">impl<'a> <a class="trait" href="trait.ByteSliceMut.html" title="trait zerocopy::ByteSliceMut">ByteSliceMut</a> for <a class="struct" href="https://doc.rust-lang.org/1.84.1/core/cell/struct.RefMut.html" title="struct core::cell::RefMut">RefMut</a><'a, [<a class="primitive" href="https://doc.rust-lang.org/1.84.1/core/primitive.u8.html">u8</a>]></h3></section><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../trait.impl/zerocopy/trait.ByteSliceMut.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>
|
||||
554
zerocopy/trait.FromBytes.html
Normal file
554
zerocopy/trait.FromBytes.html
Normal file
File diff suppressed because one or more lines are too long
118
zerocopy/trait.FromZeroes.html
Normal file
118
zerocopy/trait.FromZeroes.html
Normal file
File diff suppressed because one or more lines are too long
36
zerocopy/trait.Unaligned.html
Normal file
36
zerocopy/trait.Unaligned.html
Normal file
File diff suppressed because one or more lines are too long
11
zerocopy/wrappers/struct.Unalign.html
Normal file
11
zerocopy/wrappers/struct.Unalign.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;URL=../../zerocopy/struct.Unalign.html">
|
||||
<title>Redirection</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="../../zerocopy/struct.Unalign.html">../../zerocopy/struct.Unalign.html</a>...</p>
|
||||
<script>location.replace("../../zerocopy/struct.Unalign.html" + location.search + location.hash);</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue