29 lines
39 KiB
HTML
29 lines
39 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Machine` trait in crate `c2_chacha`."><meta name="keywords" content="rust, rustlang, rust-lang, Machine"><title>c2_chacha::guts::Machine - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../c2_chacha/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait Machine</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#associated-types">Associated Types</a><div class="sidebar-links"><a href="#associatedtype.u32x4">u32x4</a><a href="#associatedtype.u64x2">u64x2</a><a href="#associatedtype.u128x1">u128x1</a><a href="#associatedtype.u32x4x2">u32x4x2</a><a href="#associatedtype.u64x2x2">u64x2x2</a><a href="#associatedtype.u64x4">u64x4</a><a href="#associatedtype.u128x2">u128x2</a><a href="#associatedtype.u32x4x4">u32x4x4</a><a href="#associatedtype.u64x2x4">u64x2x4</a><a href="#associatedtype.u128x4">u128x4</a></div><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.instance">instance</a></div><a class="sidebar-title" href="#provided-methods">Provided Methods</a><div class="sidebar-links"><a href="#method.read_be">read_be</a><a href="#method.read_le">read_le</a><a href="#method.unpack">unpack</a><a href="#method.vec">vec</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-Machine-for-Avx2Machine%3CNI%3E">Avx2Machine<NI></a><a href="#impl-Machine-for-SseMachine%3CS3%2C%20S4%2C%20NI%3E">SseMachine<S3, S4, NI></a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../index.html'>c2_chacha</a>::<wbr><a href='index.html'>guts</a></p><script>window.sidebarCurrent = {name: 'Machine', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../../src/ppv_lite86/types.rs.html#224-268' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../index.html'>c2_chacha</a>::<wbr><a href='index.html'>guts</a>::<wbr><a class="trait" href=''>Machine</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait Machine: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> {
|
||
type <a href='#associatedtype.u32x4' class="type">u32x4</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u32x4.html" title="trait ppv_lite86::types::types::u32x4">u32x4</a><Self>;
|
||
type <a href='#associatedtype.u64x2' class="type">u64x2</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u64x2.html" title="trait ppv_lite86::types::types::u64x2">u64x2</a><Self>;
|
||
type <a href='#associatedtype.u128x1' class="type">u128x1</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u128x1.html" title="trait ppv_lite86::types::types::u128x1">u128x1</a><Self>;
|
||
type <a href='#associatedtype.u32x4x2' class="type">u32x4x2</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u32x4x2.html" title="trait ppv_lite86::types::types::u32x4x2">u32x4x2</a><Self>;
|
||
type <a href='#associatedtype.u64x2x2' class="type">u64x2x2</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u64x2x2.html" title="trait ppv_lite86::types::types::u64x2x2">u64x2x2</a><Self>;
|
||
type <a href='#associatedtype.u64x4' class="type">u64x4</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u64x4.html" title="trait ppv_lite86::types::types::u64x4">u64x4</a><Self>;
|
||
type <a href='#associatedtype.u128x2' class="type">u128x2</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u128x2.html" title="trait ppv_lite86::types::types::u128x2">u128x2</a><Self>;
|
||
type <a href='#associatedtype.u32x4x4' class="type">u32x4x4</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u32x4x4.html" title="trait ppv_lite86::types::types::u32x4x4">u32x4x4</a><Self>;
|
||
type <a href='#associatedtype.u64x2x4' class="type">u64x2x4</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u64x2x4.html" title="trait ppv_lite86::types::types::u64x2x4">u64x2x4</a><Self>;
|
||
type <a href='#associatedtype.u128x4' class="type">u128x4</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u128x4.html" title="trait ppv_lite86::types::types::u128x4">u128x4</a><Self>;
|
||
unsafe fn <a href='#tymethod.instance' class='fnname'>instance</a>() -> Self;
|
||
|
||
fn <a href='#method.unpack' class='fnname'>unpack</a><S, V>(self, s: S) -> V<br> <span class="where">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.Store.html" title="trait ppv_lite86::types::Store">Store</a><S></span>,
|
||
{ ... }
|
||
<div class='item-spacer'></div> fn <a href='#method.vec' class='fnname'>vec</a><V, A>(self, a: A) -> V<br> <span class="where">where<br> V: <a class="trait" href="../../ppv_lite86/types/types/trait.MultiLane.html" title="trait ppv_lite86::types::types::MultiLane">MultiLane</a><A></span>,
|
||
{ ... }
|
||
<div class='item-spacer'></div> fn <a href='#method.read_le' class='fnname'>read_le</a><V>(self, input: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -> V<br> <span class="where">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.StoreBytes.html" title="trait ppv_lite86::types::StoreBytes">StoreBytes</a></span>,
|
||
{ ... }
|
||
<div class='item-spacer'></div> fn <a href='#method.read_be' class='fnname'>read_be</a><V>(self, input: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -> V<br> <span class="where">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.StoreBytes.html" title="trait ppv_lite86::types::StoreBytes">StoreBytes</a></span>,
|
||
{ ... }
|
||
}</pre></div>
|
||
<h2 id='associated-types' class='small-section-header'>Associated Types<a href='#associated-types' class='anchor'></a></h2><div class='methods'><h3 id='associatedtype.u32x4' class='method'><code id='u32x4.t'>type <a href='#associatedtype.u32x4' class="type">u32x4</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u32x4.html" title="trait ppv_lite86::types::types::u32x4">u32x4</a><Self></code></h3><h3 id='associatedtype.u64x2' class='method'><code id='u64x2.t'>type <a href='#associatedtype.u64x2' class="type">u64x2</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u64x2.html" title="trait ppv_lite86::types::types::u64x2">u64x2</a><Self></code></h3><h3 id='associatedtype.u128x1' class='method'><code id='u128x1.t'>type <a href='#associatedtype.u128x1' class="type">u128x1</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u128x1.html" title="trait ppv_lite86::types::types::u128x1">u128x1</a><Self></code></h3><h3 id='associatedtype.u32x4x2' class='method'><code id='u32x4x2.t'>type <a href='#associatedtype.u32x4x2' class="type">u32x4x2</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u32x4x2.html" title="trait ppv_lite86::types::types::u32x4x2">u32x4x2</a><Self></code></h3><h3 id='associatedtype.u64x2x2' class='method'><code id='u64x2x2.t'>type <a href='#associatedtype.u64x2x2' class="type">u64x2x2</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u64x2x2.html" title="trait ppv_lite86::types::types::u64x2x2">u64x2x2</a><Self></code></h3><h3 id='associatedtype.u64x4' class='method'><code id='u64x4.t'>type <a href='#associatedtype.u64x4' class="type">u64x4</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u64x4.html" title="trait ppv_lite86::types::types::u64x4">u64x4</a><Self></code></h3><h3 id='associatedtype.u128x2' class='method'><code id='u128x2.t'>type <a href='#associatedtype.u128x2' class="type">u128x2</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u128x2.html" title="trait ppv_lite86::types::types::u128x2">u128x2</a><Self></code></h3><h3 id='associatedtype.u32x4x4' class='method'><code id='u32x4x4.t'>type <a href='#associatedtype.u32x4x4' class="type">u32x4x4</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u32x4x4.html" title="trait ppv_lite86::types::types::u32x4x4">u32x4x4</a><Self></code></h3><h3 id='associatedtype.u64x2x4' class='method'><code id='u64x2x4.t'>type <a href='#associatedtype.u64x2x4' class="type">u64x2x4</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u64x2x4.html" title="trait ppv_lite86::types::types::u64x2x4">u64x2x4</a><Self></code></h3><h3 id='associatedtype.u128x4' class='method'><code id='u128x4.t'>type <a href='#associatedtype.u128x4' class="type">u128x4</a>: <a class="trait" href="../../ppv_lite86/types/types/trait.u128x4.html" title="trait ppv_lite86::types::types::u128x4">u128x4</a><Self></code></h3></div><span class='loading-content'>Loading content...</span>
|
||
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.instance' class='method'><code id='instance.v'>unsafe fn <a href='#tymethod.instance' class='fnname'>instance</a>() -> Self</code></h3></div><span class='loading-content'>Loading content...</span>
|
||
<h2 id='provided-methods' class='small-section-header'>Provided methods<a href='#provided-methods' class='anchor'></a></h2><div class='methods'><h3 id='method.unpack' class='method'><code id='unpack.v'>fn <a href='#method.unpack' class='fnname'>unpack</a><S, V>(self, s: S) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.Store.html" title="trait ppv_lite86::types::Store">Store</a><S>, </span></code></h3><h3 id='method.vec' class='method'><code id='vec.v'>fn <a href='#method.vec' class='fnname'>vec</a><V, A>(self, a: A) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/types/trait.MultiLane.html" title="trait ppv_lite86::types::types::MultiLane">MultiLane</a><A>, </span></code></h3><h3 id='method.read_le' class='method'><code id='read_le.v'>fn <a href='#method.read_le' class='fnname'>read_le</a><V>(self, input: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.StoreBytes.html" title="trait ppv_lite86::types::StoreBytes">StoreBytes</a>, </span></code></h3><h3 id='method.read_be' class='method'><code id='read_be.v'>fn <a href='#method.read_be' class='fnname'>read_be</a><V>(self, input: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.StoreBytes.html" title="trait ppv_lite86::types::StoreBytes">StoreBytes</a>, </span></code></h3></div><span class='loading-content'>Loading content...</span>
|
||
<h2 id='foreign-impls' class='small-section-header'>Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a></h2><h3 id='impl-Machine-for-SseMachine%3CS3%2C%20S4%2C%20NI%3E' class='impl'><code class='in-band'>impl<S3, S4, NI> <a class="trait" href="../../c2_chacha/guts/trait.Machine.html" title="trait c2_chacha::guts::Machine">Machine</a> for <a class="struct" href="../../ppv_lite86/x86_64/struct.SseMachine.html" title="struct ppv_lite86::x86_64::SseMachine">SseMachine</a><S3, S4, NI> <span class="where fmt-newline">where<br> NI: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,<br> S3: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,<br> S4: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,<br> u128x1_sse2<S3, S4, NI>: <a class="trait" href="../../ppv_lite86/types/types/trait.Swap64.html" title="trait ppv_lite86::types::types::Swap64">Swap64</a>,<br> u64x2_sse2<S3, S4, NI>: <a class="trait" href="../../ppv_lite86/types/trait.BSwap.html" title="trait ppv_lite86::types::BSwap">BSwap</a>,<br> u64x2_sse2<S3, S4, NI>: <a class="trait" href="../../ppv_lite86/types/trait.RotateEachWord32.html" title="trait ppv_lite86::types::RotateEachWord32">RotateEachWord32</a>,<br> u64x2_sse2<S3, S4, NI>: <a class="trait" href="../../ppv_lite86/types/types/trait.MultiLane.html" title="trait ppv_lite86::types::types::MultiLane">MultiLane</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>>,<br> u64x2_sse2<S3, S4, NI>: <a class="trait" href="../../ppv_lite86/types/types/trait.Vec2.html" title="trait ppv_lite86::types::types::Vec2">Vec2</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>>,<br> u32x4_sse2<S3, S4, NI>: <a class="trait" href="../../ppv_lite86/types/trait.BSwap.html" title="trait ppv_lite86::types::BSwap">BSwap</a>,<br> u32x4_sse2<S3, S4, NI>: <a class="trait" href="../../ppv_lite86/types/trait.RotateEachWord32.html" title="trait ppv_lite86::types::RotateEachWord32">RotateEachWord32</a>,<br> u32x4_sse2<S3, S4, NI>: <a class="trait" href="../../ppv_lite86/types/types/trait.MultiLane.html" title="trait ppv_lite86::types::types::MultiLane">MultiLane</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>>,<br> u32x4_sse2<S3, S4, NI>: <a class="trait" href="../../ppv_lite86/types/types/trait.Vec4.html" title="trait ppv_lite86::types::types::Vec4">Vec4</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>>,<br> x2<u64x2_sse2<S3, S4, NI>, G1>: <a class="trait" href="../../ppv_lite86/types/trait.BSwap.html" title="trait ppv_lite86::types::BSwap">BSwap</a>,<br> x2<u64x2_sse2<S3, S4, NI>, G1>: <a class="trait" href="../../ppv_lite86/types/types/trait.Words4.html" title="trait ppv_lite86::types::types::Words4">Words4</a>,<br> u128x1_sse2<S3, S4, NI>: <a class="trait" href="../../ppv_lite86/types/trait.BSwap.html" title="trait ppv_lite86::types::BSwap">BSwap</a>,<br> x2<u128x1_sse2<S3, S4, NI>, G0>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><x2<u64x2_sse2<S3, S4, NI>, G0>>,<br> x2<u128x1_sse2<S3, S4, NI>, G0>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><x2<u64x2_sse2<S3, S4, NI>, G1>>,<br> x2<u128x1_sse2<S3, S4, NI>, G0>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><x2<u32x4_sse2<S3, S4, NI>, G0>>,<br> x4<u128x1_sse2<S3, S4, NI>>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><x4<u64x2_sse2<S3, S4, NI>>>,<br> x4<u128x1_sse2<S3, S4, NI>>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><x4<u32x4_sse2<S3, S4, NI>>>, </span></code><a href='#impl-Machine-for-SseMachine%3CS3%2C%20S4%2C%20NI%3E' class='anchor'></a><a class='srclink' href='../../src/ppv_lite86/x86_64/mod.rs.html#37-67' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.u32x4-1' class="type"><code id='u32x4.t-1'>type <a href='#associatedtype.u32x4' class="type">u32x4</a> = u32x4_sse2<S3, S4, NI></code></h4><h4 id='associatedtype.u64x2-1' class="type"><code id='u64x2.t-1'>type <a href='#associatedtype.u64x2' class="type">u64x2</a> = u64x2_sse2<S3, S4, NI></code></h4><h4 id='associatedtype.u128x1-1' class="type"><code id='u128x1.t-1'>type <a href='#associatedtype.u128x1' class="type">u128x1</a> = u128x1_sse2<S3, S4, NI></code></h4><h4 id='associatedtype.u32x4x2-1' class="type"><code id='u32x4x2.t-1'>type <a href='#associatedtype.u32x4x2' class="type">u32x4x2</a> = x2<u32x4_sse2<S3, S4, NI>, G0></code></h4><h4 id='associatedtype.u64x2x2-1' class="type"><code id='u64x2x2.t-1'>type <a href='#associatedtype.u64x2x2' class="type">u64x2x2</a> = x2<u64x2_sse2<S3, S4, NI>, G0></code></h4><h4 id='associatedtype.u64x4-1' class="type"><code id='u64x4.t-1'>type <a href='#associatedtype.u64x4' class="type">u64x4</a> = x2<u64x2_sse2<S3, S4, NI>, G1></code></h4><h4 id='associatedtype.u128x2-1' class="type"><code id='u128x2.t-1'>type <a href='#associatedtype.u128x2' class="type">u128x2</a> = x2<u128x1_sse2<S3, S4, NI>, G0></code></h4><h4 id='associatedtype.u32x4x4-1' class="type"><code id='u32x4x4.t-1'>type <a href='#associatedtype.u32x4x4' class="type">u32x4x4</a> = x4<u32x4_sse2<S3, S4, NI>></code></h4><h4 id='associatedtype.u64x2x4-1' class="type"><code id='u64x2x4.t-1'>type <a href='#associatedtype.u64x2x4' class="type">u64x2x4</a> = x4<u64x2_sse2<S3, S4, NI>></code></h4><h4 id='associatedtype.u128x4-1' class="type"><code id='u128x4.t-1'>type <a href='#associatedtype.u128x4' class="type">u128x4</a> = x4<u128x1_sse2<S3, S4, NI>></code></h4><h4 id='method.instance' class="method hidden"><code id='instance.v-1'>unsafe fn <a href='#method.instance' class='fnname'>instance</a>() -> <a class="struct" href="../../ppv_lite86/x86_64/struct.SseMachine.html" title="struct ppv_lite86::x86_64::SseMachine">SseMachine</a><S3, S4, NI></code><a class='srclink' href='../../src/ppv_lite86/x86_64/mod.rs.html#64-66' title='goto source code'>[src]</a></h4><h4 id='method.unpack-1' class="method"><code id='unpack.v-1'>fn <a href='../../c2_chacha/guts/trait.Machine.html#method.unpack' class='fnname'>unpack</a><S, V>(self, s: S) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.Store.html" title="trait ppv_lite86::types::Store">Store</a><S>, </span></code><a class='srclink' href='../../src/ppv_lite86/types.rs.html#239-241' title='goto source code'>[src]</a></h4><h4 id='method.vec-1' class="method"><code id='vec.v-1'>fn <a href='../../c2_chacha/guts/trait.Machine.html#method.vec' class='fnname'>vec</a><V, A>(self, a: A) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/types/trait.MultiLane.html" title="trait ppv_lite86::types::types::MultiLane">MultiLane</a><A>, </span></code><a class='srclink' href='../../src/ppv_lite86/types.rs.html#244-249' title='goto source code'>[src]</a></h4><h4 id='method.read_le-1' class="method"><code id='read_le.v-1'>fn <a href='../../c2_chacha/guts/trait.Machine.html#method.read_le' class='fnname'>read_le</a><V>(self, input: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.StoreBytes.html" title="trait ppv_lite86::types::StoreBytes">StoreBytes</a>, </span></code><a class='srclink' href='../../src/ppv_lite86/types.rs.html#252-257' title='goto source code'>[src]</a></h4><h4 id='method.read_be-1' class="method"><code id='read_be.v-1'>fn <a href='../../c2_chacha/guts/trait.Machine.html#method.read_be' class='fnname'>read_be</a><V>(self, input: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.StoreBytes.html" title="trait ppv_lite86::types::StoreBytes">StoreBytes</a>, </span></code><a class='srclink' href='../../src/ppv_lite86/types.rs.html#260-265' title='goto source code'>[src]</a></h4></div><h3 id='impl-Machine-for-Avx2Machine%3CNI%3E' class='impl'><code class='in-band'>impl<NI> <a class="trait" href="../../c2_chacha/guts/trait.Machine.html" title="trait c2_chacha::guts::Machine">Machine</a> for <a class="struct" href="../../ppv_lite86/x86_64/struct.Avx2Machine.html" title="struct ppv_lite86::x86_64::Avx2Machine">Avx2Machine</a><NI> <span class="where fmt-newline">where<br> NI: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,<br> u128x1_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>: <a class="trait" href="../../ppv_lite86/types/trait.BSwap.html" title="trait ppv_lite86::types::BSwap">BSwap</a>,<br> u128x1_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>: <a class="trait" href="../../ppv_lite86/types/types/trait.Swap64.html" title="trait ppv_lite86::types::types::Swap64">Swap64</a>,<br> u64x2_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>: <a class="trait" href="../../ppv_lite86/types/trait.BSwap.html" title="trait ppv_lite86::types::BSwap">BSwap</a>,<br> u64x2_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>: <a class="trait" href="../../ppv_lite86/types/trait.RotateEachWord32.html" title="trait ppv_lite86::types::RotateEachWord32">RotateEachWord32</a>,<br> u64x2_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>: <a class="trait" href="../../ppv_lite86/types/types/trait.MultiLane.html" title="trait ppv_lite86::types::types::MultiLane">MultiLane</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 2]</a>>,<br> u64x2_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>: <a class="trait" href="../../ppv_lite86/types/types/trait.Vec2.html" title="trait ppv_lite86::types::types::Vec2">Vec2</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>>,<br> u32x4_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>: <a class="trait" href="../../ppv_lite86/types/trait.BSwap.html" title="trait ppv_lite86::types::BSwap">BSwap</a>,<br> u32x4_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>: <a class="trait" href="../../ppv_lite86/types/trait.RotateEachWord32.html" title="trait ppv_lite86::types::RotateEachWord32">RotateEachWord32</a>,<br> u32x4_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>: <a class="trait" href="../../ppv_lite86/types/types/trait.MultiLane.html" title="trait ppv_lite86::types::types::MultiLane">MultiLane</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 4]</a>>,<br> u32x4_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>: <a class="trait" href="../../ppv_lite86/types/types/trait.Vec4.html" title="trait ppv_lite86::types::types::Vec4">Vec4</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>>,<br> x2<u64x2_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>, G1>: <a class="trait" href="../../ppv_lite86/types/trait.BSwap.html" title="trait ppv_lite86::types::BSwap">BSwap</a>,<br> x2<u64x2_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>, G1>: <a class="trait" href="../../ppv_lite86/types/types/trait.Words4.html" title="trait ppv_lite86::types::types::Words4">Words4</a>, </span></code><a href='#impl-Machine-for-Avx2Machine%3CNI%3E' class='anchor'></a><a class='srclink' href='../../src/ppv_lite86/x86_64/mod.rs.html#71-95' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.u32x4-2' class="type"><code id='u32x4.t-2'>type <a href='#associatedtype.u32x4' class="type">u32x4</a> = u32x4_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI></code></h4><h4 id='associatedtype.u64x2-2' class="type"><code id='u64x2.t-2'>type <a href='#associatedtype.u64x2' class="type">u64x2</a> = u64x2_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI></code></h4><h4 id='associatedtype.u128x1-2' class="type"><code id='u128x1.t-2'>type <a href='#associatedtype.u128x1' class="type">u128x1</a> = u128x1_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI></code></h4><h4 id='associatedtype.u32x4x2-2' class="type"><code id='u32x4x2.t-2'>type <a href='#associatedtype.u32x4x2' class="type">u32x4x2</a> = x2<u32x4_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>, G0></code></h4><h4 id='associatedtype.u64x2x2-2' class="type"><code id='u64x2x2.t-2'>type <a href='#associatedtype.u64x2x2' class="type">u64x2x2</a> = x2<u64x2_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>, G0></code></h4><h4 id='associatedtype.u64x4-2' class="type"><code id='u64x4.t-2'>type <a href='#associatedtype.u64x4' class="type">u64x4</a> = x2<u64x2_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>, G1></code></h4><h4 id='associatedtype.u128x2-2' class="type"><code id='u128x2.t-2'>type <a href='#associatedtype.u128x2' class="type">u128x2</a> = x2<u128x1_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>, G0></code></h4><h4 id='associatedtype.u32x4x4-2' class="type"><code id='u32x4x4.t-2'>type <a href='#associatedtype.u32x4x4' class="type">u32x4x4</a> = u32x4x4_avx2<NI></code></h4><h4 id='associatedtype.u64x2x4-2' class="type"><code id='u64x2x4.t-2'>type <a href='#associatedtype.u64x2x4' class="type">u64x2x4</a> = x4<u64x2_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>></code></h4><h4 id='associatedtype.u128x4-2' class="type"><code id='u128x4.t-2'>type <a href='#associatedtype.u128x4' class="type">u128x4</a> = x4<u128x1_sse2<<a class="struct" href="../../ppv_lite86/x86_64/struct.YesS3.html" title="struct ppv_lite86::x86_64::YesS3">YesS3</a>, <a class="struct" href="../../ppv_lite86/x86_64/struct.YesS4.html" title="struct ppv_lite86::x86_64::YesS4">YesS4</a>, NI>></code></h4><h4 id='method.instance-1' class="method hidden"><code id='instance.v-2'>unsafe fn <a href='#method.instance' class='fnname'>instance</a>() -> <a class="struct" href="../../ppv_lite86/x86_64/struct.Avx2Machine.html" title="struct ppv_lite86::x86_64::Avx2Machine">Avx2Machine</a><NI></code><a class='srclink' href='../../src/ppv_lite86/x86_64/mod.rs.html#92-94' title='goto source code'>[src]</a></h4><h4 id='method.unpack-2' class="method"><code id='unpack.v-2'>fn <a href='../../c2_chacha/guts/trait.Machine.html#method.unpack' class='fnname'>unpack</a><S, V>(self, s: S) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.Store.html" title="trait ppv_lite86::types::Store">Store</a><S>, </span></code><a class='srclink' href='../../src/ppv_lite86/types.rs.html#239-241' title='goto source code'>[src]</a></h4><h4 id='method.vec-2' class="method"><code id='vec.v-2'>fn <a href='../../c2_chacha/guts/trait.Machine.html#method.vec' class='fnname'>vec</a><V, A>(self, a: A) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/types/trait.MultiLane.html" title="trait ppv_lite86::types::types::MultiLane">MultiLane</a><A>, </span></code><a class='srclink' href='../../src/ppv_lite86/types.rs.html#244-249' title='goto source code'>[src]</a></h4><h4 id='method.read_le-2' class="method"><code id='read_le.v-2'>fn <a href='../../c2_chacha/guts/trait.Machine.html#method.read_le' class='fnname'>read_le</a><V>(self, input: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.StoreBytes.html" title="trait ppv_lite86::types::StoreBytes">StoreBytes</a>, </span></code><a class='srclink' href='../../src/ppv_lite86/types.rs.html#252-257' title='goto source code'>[src]</a></h4><h4 id='method.read_be-2' class="method"><code id='read_be.v-2'>fn <a href='../../c2_chacha/guts/trait.Machine.html#method.read_be' class='fnname'>read_be</a><V>(self, input: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -> V <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.StoreBytes.html" title="trait ppv_lite86::types::StoreBytes">StoreBytes</a>, </span></code><a class='srclink' href='../../src/ppv_lite86/types.rs.html#260-265' title='goto source code'>[src]</a></h4></div><span class='loading-content'>Loading content...</span>
|
||
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
|
||
src="../../implementors/ppv_lite86/types/trait.Machine.js">
|
||
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "c2_chacha";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |