2 lines
14 KiB
HTML
2 lines
14 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Cross-platform primitives with unaligned representations."><title>rend::unaligned - 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="rend" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../rend/index.html">rend</a><span class="version">0.5.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module unaligned</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate rend</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">rend</a></span><h1>Module <span>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/rend/unaligned.rs.html#1-579">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Cross-platform primitives with unaligned representations.</p>
|
|
</div></details><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.NonZeroI16_ube.html" title="struct rend::unaligned::NonZeroI16_ube">NonZero<wbr>I16_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>NonZeroI16</code> with a guaranteed size of <code>2</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroI16_ule.html" title="struct rend::unaligned::NonZeroI16_ule">NonZero<wbr>I16_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>NonZeroI16</code> with a guaranteed size of <code>2</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroI32_ube.html" title="struct rend::unaligned::NonZeroI32_ube">NonZero<wbr>I32_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>NonZeroI32</code> with a guaranteed size of <code>2</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroI32_ule.html" title="struct rend::unaligned::NonZeroI32_ule">NonZero<wbr>I32_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>NonZeroI32</code> with a guaranteed size of <code>2</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroI64_ube.html" title="struct rend::unaligned::NonZeroI64_ube">NonZero<wbr>I64_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>NonZeroI64</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroI64_ule.html" title="struct rend::unaligned::NonZeroI64_ule">NonZero<wbr>I64_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>NonZeroI64</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroI128_ube.html" title="struct rend::unaligned::NonZeroI128_ube">NonZero<wbr>I128_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>NonZeroI128</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroI128_ule.html" title="struct rend::unaligned::NonZeroI128_ule">NonZero<wbr>I128_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>NonZeroI128</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroU16_ube.html" title="struct rend::unaligned::NonZeroU16_ube">NonZero<wbr>U16_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>NonZeroU16</code> with a guaranteed size of <code>8</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroU16_ule.html" title="struct rend::unaligned::NonZeroU16_ule">NonZero<wbr>U16_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>NonZeroU16</code> with a guaranteed size of <code>8</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroU32_ube.html" title="struct rend::unaligned::NonZeroU32_ube">NonZero<wbr>U32_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>NonZeroU32</code> with a guaranteed size of <code>8</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroU32_ule.html" title="struct rend::unaligned::NonZeroU32_ule">NonZero<wbr>U32_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>NonZeroU32</code> with a guaranteed size of <code>8</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroU64_ube.html" title="struct rend::unaligned::NonZeroU64_ube">NonZero<wbr>U64_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>NonZeroU64</code> with a guaranteed size of <code>16</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroU64_ule.html" title="struct rend::unaligned::NonZeroU64_ule">NonZero<wbr>U64_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>NonZeroU64</code> with a guaranteed size of <code>16</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroU128_ube.html" title="struct rend::unaligned::NonZeroU128_ube">NonZero<wbr>U128_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>NonZeroU128</code> with a guaranteed size of <code>16</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.NonZeroU128_ule.html" title="struct rend::unaligned::NonZeroU128_ule">NonZero<wbr>U128_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>NonZeroU128</code> with a guaranteed size of <code>16</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.char_ube.html" title="struct rend::unaligned::char_ube">char_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>u32</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.char_ule.html" title="struct rend::unaligned::char_ule">char_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>u32</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.f32_ube.html" title="struct rend::unaligned::f32_ube">f32_ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>f32</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.f32_ule.html" title="struct rend::unaligned::f32_ule">f32_ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>f32</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.f64_ube.html" title="struct rend::unaligned::f64_ube">f64_ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>f64</code> with a guaranteed size of <code>8</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.f64_ule.html" title="struct rend::unaligned::f64_ule">f64_ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>f64</code> with a guaranteed size of <code>8</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.i16_ube.html" title="struct rend::unaligned::i16_ube">i16_ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>i16</code> with a guaranteed size of <code>2</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.i16_ule.html" title="struct rend::unaligned::i16_ule">i16_ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>i16</code> with a guaranteed size of <code>2</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.i32_ube.html" title="struct rend::unaligned::i32_ube">i32_ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>i32</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.i32_ule.html" title="struct rend::unaligned::i32_ule">i32_ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>i32</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.i64_ube.html" title="struct rend::unaligned::i64_ube">i64_ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>i64</code> with a guaranteed size of <code>8</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.i64_ule.html" title="struct rend::unaligned::i64_ule">i64_ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>i64</code> with a guaranteed size of <code>8</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.i128_ube.html" title="struct rend::unaligned::i128_ube">i128_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>i128</code> with a guaranteed size of <code>16</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.i128_ule.html" title="struct rend::unaligned::i128_ule">i128_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>i128</code> with a guaranteed size of <code>16</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.u16_ube.html" title="struct rend::unaligned::u16_ube">u16_ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>u16</code> with a guaranteed size of <code>2</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.u16_ule.html" title="struct rend::unaligned::u16_ule">u16_ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>u16</code> with a guaranteed size of <code>2</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.u32_ube.html" title="struct rend::unaligned::u32_ube">u32_ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>u32</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.u32_ule.html" title="struct rend::unaligned::u32_ule">u32_ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>u32</code> with a guaranteed size of <code>4</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.u64_ube.html" title="struct rend::unaligned::u64_ube">u64_ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>u64</code> with a guaranteed size of <code>8</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.u64_ule.html" title="struct rend::unaligned::u64_ule">u64_ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>u64</code> with a guaranteed size of <code>8</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.u128_ube.html" title="struct rend::unaligned::u128_ube">u128_<wbr>ube</a></div><div class="desc docblock-short">A big-endian unaligned <code>u128</code> with a guaranteed size of <code>16</code> and alignment of <code>1</code>.</div></li><li><div class="item-name"><a class="struct" href="struct.u128_ule.html" title="struct rend::unaligned::u128_ule">u128_<wbr>ule</a></div><div class="desc docblock-short">A little-endian unaligned <code>u128</code> with a guaranteed size of <code>16</code> and alignment of <code>1</code>.</div></li></ul></section></div></main></body></html> |