mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-26 03:49:34 +01:00
159 lines
No EOL
50 KiB
HTML
159 lines
No EOL
50 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="All the peripherals"><title>Peripherals in nrf52840_pac - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-492a78a4a87dcc01.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="nrf52840_pac" data-themes="" data-resource-suffix="" data-rustdoc-version="1.82.0 (f6e511eec 2024-10-15)" data-channel="1.82.0" data-search-js="search-a99f1315e7cc5121.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-921df33f47b8780c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-3b12f09e550e0385.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[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="../nrf52840_pac/index.html">nrf52840_<wbr>pac</a><span class="version">0.12.2</span></h2></div><h2 class="location"><a href="#">Peripherals</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.AAR">AAR</a></li><li><a href="#structfield.ACL">ACL</a></li><li><a href="#structfield.CCM">CCM</a></li><li><a href="#structfield.CC_HOST_RGF">CC_HOST_RGF</a></li><li><a href="#structfield.CLOCK">CLOCK</a></li><li><a href="#structfield.COMP">COMP</a></li><li><a href="#structfield.CRYPTOCELL">CRYPTOCELL</a></li><li><a href="#structfield.ECB">ECB</a></li><li><a href="#structfield.EGU0">EGU0</a></li><li><a href="#structfield.EGU1">EGU1</a></li><li><a href="#structfield.EGU2">EGU2</a></li><li><a href="#structfield.EGU3">EGU3</a></li><li><a href="#structfield.EGU4">EGU4</a></li><li><a href="#structfield.EGU5">EGU5</a></li><li><a href="#structfield.FICR">FICR</a></li><li><a href="#structfield.GPIOTE">GPIOTE</a></li><li><a href="#structfield.I2S">I2S</a></li><li><a href="#structfield.LPCOMP">LPCOMP</a></li><li><a href="#structfield.MWU">MWU</a></li><li><a href="#structfield.NFCT">NFCT</a></li><li><a href="#structfield.NVMC">NVMC</a></li><li><a href="#structfield.P0">P0</a></li><li><a href="#structfield.P1">P1</a></li><li><a href="#structfield.PDM">PDM</a></li><li><a href="#structfield.POWER">POWER</a></li><li><a href="#structfield.PPI">PPI</a></li><li><a href="#structfield.PWM0">PWM0</a></li><li><a href="#structfield.PWM1">PWM1</a></li><li><a href="#structfield.PWM2">PWM2</a></li><li><a href="#structfield.PWM3">PWM3</a></li><li><a href="#structfield.QDEC">QDEC</a></li><li><a href="#structfield.QSPI">QSPI</a></li><li><a href="#structfield.RADIO">RADIO</a></li><li><a href="#structfield.RNG">RNG</a></li><li><a href="#structfield.RTC0">RTC0</a></li><li><a href="#structfield.RTC1">RTC1</a></li><li><a href="#structfield.RTC2">RTC2</a></li><li><a href="#structfield.SAADC">SAADC</a></li><li><a href="#structfield.SPI0">SPI0</a></li><li><a href="#structfield.SPI1">SPI1</a></li><li><a href="#structfield.SPI2">SPI2</a></li><li><a href="#structfield.SPIM0">SPIM0</a></li><li><a href="#structfield.SPIM1">SPIM1</a></li><li><a href="#structfield.SPIM2">SPIM2</a></li><li><a href="#structfield.SPIM3">SPIM3</a></li><li><a href="#structfield.SPIS0">SPIS0</a></li><li><a href="#structfield.SPIS1">SPIS1</a></li><li><a href="#structfield.SPIS2">SPIS2</a></li><li><a href="#structfield.SWI0">SWI0</a></li><li><a href="#structfield.SWI1">SWI1</a></li><li><a href="#structfield.SWI2">SWI2</a></li><li><a href="#structfield.SWI3">SWI3</a></li><li><a href="#structfield.SWI4">SWI4</a></li><li><a href="#structfield.SWI5">SWI5</a></li><li><a href="#structfield.TEMP">TEMP</a></li><li><a href="#structfield.TIMER0">TIMER0</a></li><li><a href="#structfield.TIMER1">TIMER1</a></li><li><a href="#structfield.TIMER2">TIMER2</a></li><li><a href="#structfield.TIMER3">TIMER3</a></li><li><a href="#structfield.TIMER4">TIMER4</a></li><li><a href="#structfield.TWI0">TWI0</a></li><li><a href="#structfield.TWI1">TWI1</a></li><li><a href="#structfield.TWIM0">TWIM0</a></li><li><a href="#structfield.TWIM1">TWIM1</a></li><li><a href="#structfield.TWIS0">TWIS0</a></li><li><a href="#structfield.TWIS1">TWIS1</a></li><li><a href="#structfield.UART0">UART0</a></li><li><a href="#structfield.UARTE0">UARTE0</a></li><li><a href="#structfield.UARTE1">UARTE1</a></li><li><a href="#structfield.UICR">UICR</a></li><li><a href="#structfield.USBD">USBD</a></li><li><a href="#structfield.WDT">WDT</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.steal">steal</a></li><li><a href="#method.take">take</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Sync-for-Peripherals">!Sync</a></li><li><a href="#impl-Freeze-for-Peripherals">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Peripherals">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Peripherals">Send</a></li><li><a href="#impl-Unpin-for-Peripherals">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Peripherals">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut<T></a></li><li><a href="#impl-From%3CT%3E-for-T">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T">Into<U></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto<U></a></li></ul></section><h2><a href="index.html">In crate nrf52840_<wbr>pac</a></h2></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>Struct <a href="index.html">nrf52840_pac</a>::<wbr><a class="struct" href="#">Peripherals</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/nrf52840_pac/lib.rs.html#2283-2428">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub struct Peripherals {<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 72 fields</span></summary>
|
|
pub FICR: <a class="struct" href="struct.FICR.html" title="struct nrf52840_pac::FICR">FICR</a>,
|
|
pub UICR: <a class="struct" href="struct.UICR.html" title="struct nrf52840_pac::UICR">UICR</a>,
|
|
pub CLOCK: <a class="struct" href="struct.CLOCK.html" title="struct nrf52840_pac::CLOCK">CLOCK</a>,
|
|
pub POWER: <a class="struct" href="struct.POWER.html" title="struct nrf52840_pac::POWER">POWER</a>,
|
|
pub RADIO: <a class="struct" href="struct.RADIO.html" title="struct nrf52840_pac::RADIO">RADIO</a>,
|
|
pub UART0: <a class="struct" href="struct.UART0.html" title="struct nrf52840_pac::UART0">UART0</a>,
|
|
pub UARTE0: <a class="struct" href="struct.UARTE0.html" title="struct nrf52840_pac::UARTE0">UARTE0</a>,
|
|
pub SPI0: <a class="struct" href="struct.SPI0.html" title="struct nrf52840_pac::SPI0">SPI0</a>,
|
|
pub SPIM0: <a class="struct" href="struct.SPIM0.html" title="struct nrf52840_pac::SPIM0">SPIM0</a>,
|
|
pub SPIS0: <a class="struct" href="struct.SPIS0.html" title="struct nrf52840_pac::SPIS0">SPIS0</a>,
|
|
pub TWI0: <a class="struct" href="struct.TWI0.html" title="struct nrf52840_pac::TWI0">TWI0</a>,
|
|
pub TWIM0: <a class="struct" href="struct.TWIM0.html" title="struct nrf52840_pac::TWIM0">TWIM0</a>,
|
|
pub TWIS0: <a class="struct" href="struct.TWIS0.html" title="struct nrf52840_pac::TWIS0">TWIS0</a>,
|
|
pub SPI1: <a class="struct" href="struct.SPI1.html" title="struct nrf52840_pac::SPI1">SPI1</a>,
|
|
pub SPIM1: <a class="struct" href="struct.SPIM1.html" title="struct nrf52840_pac::SPIM1">SPIM1</a>,
|
|
pub SPIS1: <a class="struct" href="struct.SPIS1.html" title="struct nrf52840_pac::SPIS1">SPIS1</a>,
|
|
pub TWI1: <a class="struct" href="struct.TWI1.html" title="struct nrf52840_pac::TWI1">TWI1</a>,
|
|
pub TWIM1: <a class="struct" href="struct.TWIM1.html" title="struct nrf52840_pac::TWIM1">TWIM1</a>,
|
|
pub TWIS1: <a class="struct" href="struct.TWIS1.html" title="struct nrf52840_pac::TWIS1">TWIS1</a>,
|
|
pub NFCT: <a class="struct" href="struct.NFCT.html" title="struct nrf52840_pac::NFCT">NFCT</a>,
|
|
pub GPIOTE: <a class="struct" href="struct.GPIOTE.html" title="struct nrf52840_pac::GPIOTE">GPIOTE</a>,
|
|
pub SAADC: <a class="struct" href="struct.SAADC.html" title="struct nrf52840_pac::SAADC">SAADC</a>,
|
|
pub TIMER0: <a class="struct" href="struct.TIMER0.html" title="struct nrf52840_pac::TIMER0">TIMER0</a>,
|
|
pub TIMER1: <a class="struct" href="struct.TIMER1.html" title="struct nrf52840_pac::TIMER1">TIMER1</a>,
|
|
pub TIMER2: <a class="struct" href="struct.TIMER2.html" title="struct nrf52840_pac::TIMER2">TIMER2</a>,
|
|
pub RTC0: <a class="struct" href="struct.RTC0.html" title="struct nrf52840_pac::RTC0">RTC0</a>,
|
|
pub TEMP: <a class="struct" href="struct.TEMP.html" title="struct nrf52840_pac::TEMP">TEMP</a>,
|
|
pub RNG: <a class="struct" href="struct.RNG.html" title="struct nrf52840_pac::RNG">RNG</a>,
|
|
pub ECB: <a class="struct" href="struct.ECB.html" title="struct nrf52840_pac::ECB">ECB</a>,
|
|
pub AAR: <a class="struct" href="struct.AAR.html" title="struct nrf52840_pac::AAR">AAR</a>,
|
|
pub CCM: <a class="struct" href="struct.CCM.html" title="struct nrf52840_pac::CCM">CCM</a>,
|
|
pub WDT: <a class="struct" href="struct.WDT.html" title="struct nrf52840_pac::WDT">WDT</a>,
|
|
pub RTC1: <a class="struct" href="struct.RTC1.html" title="struct nrf52840_pac::RTC1">RTC1</a>,
|
|
pub QDEC: <a class="struct" href="struct.QDEC.html" title="struct nrf52840_pac::QDEC">QDEC</a>,
|
|
pub COMP: <a class="struct" href="struct.COMP.html" title="struct nrf52840_pac::COMP">COMP</a>,
|
|
pub LPCOMP: <a class="struct" href="struct.LPCOMP.html" title="struct nrf52840_pac::LPCOMP">LPCOMP</a>,
|
|
pub EGU0: <a class="struct" href="struct.EGU0.html" title="struct nrf52840_pac::EGU0">EGU0</a>,
|
|
pub SWI0: <a class="struct" href="struct.SWI0.html" title="struct nrf52840_pac::SWI0">SWI0</a>,
|
|
pub EGU1: <a class="struct" href="struct.EGU1.html" title="struct nrf52840_pac::EGU1">EGU1</a>,
|
|
pub SWI1: <a class="struct" href="struct.SWI1.html" title="struct nrf52840_pac::SWI1">SWI1</a>,
|
|
pub EGU2: <a class="struct" href="struct.EGU2.html" title="struct nrf52840_pac::EGU2">EGU2</a>,
|
|
pub SWI2: <a class="struct" href="struct.SWI2.html" title="struct nrf52840_pac::SWI2">SWI2</a>,
|
|
pub EGU3: <a class="struct" href="struct.EGU3.html" title="struct nrf52840_pac::EGU3">EGU3</a>,
|
|
pub SWI3: <a class="struct" href="struct.SWI3.html" title="struct nrf52840_pac::SWI3">SWI3</a>,
|
|
pub EGU4: <a class="struct" href="struct.EGU4.html" title="struct nrf52840_pac::EGU4">EGU4</a>,
|
|
pub SWI4: <a class="struct" href="struct.SWI4.html" title="struct nrf52840_pac::SWI4">SWI4</a>,
|
|
pub EGU5: <a class="struct" href="struct.EGU5.html" title="struct nrf52840_pac::EGU5">EGU5</a>,
|
|
pub SWI5: <a class="struct" href="struct.SWI5.html" title="struct nrf52840_pac::SWI5">SWI5</a>,
|
|
pub TIMER3: <a class="struct" href="struct.TIMER3.html" title="struct nrf52840_pac::TIMER3">TIMER3</a>,
|
|
pub TIMER4: <a class="struct" href="struct.TIMER4.html" title="struct nrf52840_pac::TIMER4">TIMER4</a>,
|
|
pub PWM0: <a class="struct" href="struct.PWM0.html" title="struct nrf52840_pac::PWM0">PWM0</a>,
|
|
pub PDM: <a class="struct" href="struct.PDM.html" title="struct nrf52840_pac::PDM">PDM</a>,
|
|
pub ACL: <a class="struct" href="struct.ACL.html" title="struct nrf52840_pac::ACL">ACL</a>,
|
|
pub NVMC: <a class="struct" href="struct.NVMC.html" title="struct nrf52840_pac::NVMC">NVMC</a>,
|
|
pub PPI: <a class="struct" href="struct.PPI.html" title="struct nrf52840_pac::PPI">PPI</a>,
|
|
pub MWU: <a class="struct" href="struct.MWU.html" title="struct nrf52840_pac::MWU">MWU</a>,
|
|
pub PWM1: <a class="struct" href="struct.PWM1.html" title="struct nrf52840_pac::PWM1">PWM1</a>,
|
|
pub PWM2: <a class="struct" href="struct.PWM2.html" title="struct nrf52840_pac::PWM2">PWM2</a>,
|
|
pub SPI2: <a class="struct" href="struct.SPI2.html" title="struct nrf52840_pac::SPI2">SPI2</a>,
|
|
pub SPIM2: <a class="struct" href="struct.SPIM2.html" title="struct nrf52840_pac::SPIM2">SPIM2</a>,
|
|
pub SPIS2: <a class="struct" href="struct.SPIS2.html" title="struct nrf52840_pac::SPIS2">SPIS2</a>,
|
|
pub RTC2: <a class="struct" href="struct.RTC2.html" title="struct nrf52840_pac::RTC2">RTC2</a>,
|
|
pub I2S: <a class="struct" href="struct.I2S.html" title="struct nrf52840_pac::I2S">I2S</a>,
|
|
pub USBD: <a class="struct" href="struct.USBD.html" title="struct nrf52840_pac::USBD">USBD</a>,
|
|
pub UARTE1: <a class="struct" href="struct.UARTE1.html" title="struct nrf52840_pac::UARTE1">UARTE1</a>,
|
|
pub QSPI: <a class="struct" href="struct.QSPI.html" title="struct nrf52840_pac::QSPI">QSPI</a>,
|
|
pub PWM3: <a class="struct" href="struct.PWM3.html" title="struct nrf52840_pac::PWM3">PWM3</a>,
|
|
pub SPIM3: <a class="struct" href="struct.SPIM3.html" title="struct nrf52840_pac::SPIM3">SPIM3</a>,
|
|
pub P0: <a class="struct" href="struct.P0.html" title="struct nrf52840_pac::P0">P0</a>,
|
|
pub P1: <a class="struct" href="struct.P1.html" title="struct nrf52840_pac::P1">P1</a>,
|
|
pub CC_HOST_RGF: <a class="struct" href="struct.CC_HOST_RGF.html" title="struct nrf52840_pac::CC_HOST_RGF">CC_HOST_RGF</a>,
|
|
pub CRYPTOCELL: <a class="struct" href="struct.CRYPTOCELL.html" title="struct nrf52840_pac::CRYPTOCELL">CRYPTOCELL</a>,
|
|
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>All the peripherals</p>
|
|
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.FICR" class="structfield section-header"><a href="#structfield.FICR" class="anchor field">§</a><code>FICR: <a class="struct" href="struct.FICR.html" title="struct nrf52840_pac::FICR">FICR</a></code></span><div class="docblock"><p>FICR</p>
|
|
</div><span id="structfield.UICR" class="structfield section-header"><a href="#structfield.UICR" class="anchor field">§</a><code>UICR: <a class="struct" href="struct.UICR.html" title="struct nrf52840_pac::UICR">UICR</a></code></span><div class="docblock"><p>UICR</p>
|
|
</div><span id="structfield.CLOCK" class="structfield section-header"><a href="#structfield.CLOCK" class="anchor field">§</a><code>CLOCK: <a class="struct" href="struct.CLOCK.html" title="struct nrf52840_pac::CLOCK">CLOCK</a></code></span><div class="docblock"><p>CLOCK</p>
|
|
</div><span id="structfield.POWER" class="structfield section-header"><a href="#structfield.POWER" class="anchor field">§</a><code>POWER: <a class="struct" href="struct.POWER.html" title="struct nrf52840_pac::POWER">POWER</a></code></span><div class="docblock"><p>POWER</p>
|
|
</div><span id="structfield.RADIO" class="structfield section-header"><a href="#structfield.RADIO" class="anchor field">§</a><code>RADIO: <a class="struct" href="struct.RADIO.html" title="struct nrf52840_pac::RADIO">RADIO</a></code></span><div class="docblock"><p>RADIO</p>
|
|
</div><span id="structfield.UART0" class="structfield section-header"><a href="#structfield.UART0" class="anchor field">§</a><code>UART0: <a class="struct" href="struct.UART0.html" title="struct nrf52840_pac::UART0">UART0</a></code></span><div class="docblock"><p>UART0</p>
|
|
</div><span id="structfield.UARTE0" class="structfield section-header"><a href="#structfield.UARTE0" class="anchor field">§</a><code>UARTE0: <a class="struct" href="struct.UARTE0.html" title="struct nrf52840_pac::UARTE0">UARTE0</a></code></span><div class="docblock"><p>UARTE0</p>
|
|
</div><span id="structfield.SPI0" class="structfield section-header"><a href="#structfield.SPI0" class="anchor field">§</a><code>SPI0: <a class="struct" href="struct.SPI0.html" title="struct nrf52840_pac::SPI0">SPI0</a></code></span><div class="docblock"><p>SPI0</p>
|
|
</div><span id="structfield.SPIM0" class="structfield section-header"><a href="#structfield.SPIM0" class="anchor field">§</a><code>SPIM0: <a class="struct" href="struct.SPIM0.html" title="struct nrf52840_pac::SPIM0">SPIM0</a></code></span><div class="docblock"><p>SPIM0</p>
|
|
</div><span id="structfield.SPIS0" class="structfield section-header"><a href="#structfield.SPIS0" class="anchor field">§</a><code>SPIS0: <a class="struct" href="struct.SPIS0.html" title="struct nrf52840_pac::SPIS0">SPIS0</a></code></span><div class="docblock"><p>SPIS0</p>
|
|
</div><span id="structfield.TWI0" class="structfield section-header"><a href="#structfield.TWI0" class="anchor field">§</a><code>TWI0: <a class="struct" href="struct.TWI0.html" title="struct nrf52840_pac::TWI0">TWI0</a></code></span><div class="docblock"><p>TWI0</p>
|
|
</div><span id="structfield.TWIM0" class="structfield section-header"><a href="#structfield.TWIM0" class="anchor field">§</a><code>TWIM0: <a class="struct" href="struct.TWIM0.html" title="struct nrf52840_pac::TWIM0">TWIM0</a></code></span><div class="docblock"><p>TWIM0</p>
|
|
</div><span id="structfield.TWIS0" class="structfield section-header"><a href="#structfield.TWIS0" class="anchor field">§</a><code>TWIS0: <a class="struct" href="struct.TWIS0.html" title="struct nrf52840_pac::TWIS0">TWIS0</a></code></span><div class="docblock"><p>TWIS0</p>
|
|
</div><span id="structfield.SPI1" class="structfield section-header"><a href="#structfield.SPI1" class="anchor field">§</a><code>SPI1: <a class="struct" href="struct.SPI1.html" title="struct nrf52840_pac::SPI1">SPI1</a></code></span><div class="docblock"><p>SPI1</p>
|
|
</div><span id="structfield.SPIM1" class="structfield section-header"><a href="#structfield.SPIM1" class="anchor field">§</a><code>SPIM1: <a class="struct" href="struct.SPIM1.html" title="struct nrf52840_pac::SPIM1">SPIM1</a></code></span><div class="docblock"><p>SPIM1</p>
|
|
</div><span id="structfield.SPIS1" class="structfield section-header"><a href="#structfield.SPIS1" class="anchor field">§</a><code>SPIS1: <a class="struct" href="struct.SPIS1.html" title="struct nrf52840_pac::SPIS1">SPIS1</a></code></span><div class="docblock"><p>SPIS1</p>
|
|
</div><span id="structfield.TWI1" class="structfield section-header"><a href="#structfield.TWI1" class="anchor field">§</a><code>TWI1: <a class="struct" href="struct.TWI1.html" title="struct nrf52840_pac::TWI1">TWI1</a></code></span><div class="docblock"><p>TWI1</p>
|
|
</div><span id="structfield.TWIM1" class="structfield section-header"><a href="#structfield.TWIM1" class="anchor field">§</a><code>TWIM1: <a class="struct" href="struct.TWIM1.html" title="struct nrf52840_pac::TWIM1">TWIM1</a></code></span><div class="docblock"><p>TWIM1</p>
|
|
</div><span id="structfield.TWIS1" class="structfield section-header"><a href="#structfield.TWIS1" class="anchor field">§</a><code>TWIS1: <a class="struct" href="struct.TWIS1.html" title="struct nrf52840_pac::TWIS1">TWIS1</a></code></span><div class="docblock"><p>TWIS1</p>
|
|
</div><span id="structfield.NFCT" class="structfield section-header"><a href="#structfield.NFCT" class="anchor field">§</a><code>NFCT: <a class="struct" href="struct.NFCT.html" title="struct nrf52840_pac::NFCT">NFCT</a></code></span><div class="docblock"><p>NFCT</p>
|
|
</div><span id="structfield.GPIOTE" class="structfield section-header"><a href="#structfield.GPIOTE" class="anchor field">§</a><code>GPIOTE: <a class="struct" href="struct.GPIOTE.html" title="struct nrf52840_pac::GPIOTE">GPIOTE</a></code></span><div class="docblock"><p>GPIOTE</p>
|
|
</div><span id="structfield.SAADC" class="structfield section-header"><a href="#structfield.SAADC" class="anchor field">§</a><code>SAADC: <a class="struct" href="struct.SAADC.html" title="struct nrf52840_pac::SAADC">SAADC</a></code></span><div class="docblock"><p>SAADC</p>
|
|
</div><span id="structfield.TIMER0" class="structfield section-header"><a href="#structfield.TIMER0" class="anchor field">§</a><code>TIMER0: <a class="struct" href="struct.TIMER0.html" title="struct nrf52840_pac::TIMER0">TIMER0</a></code></span><div class="docblock"><p>TIMER0</p>
|
|
</div><span id="structfield.TIMER1" class="structfield section-header"><a href="#structfield.TIMER1" class="anchor field">§</a><code>TIMER1: <a class="struct" href="struct.TIMER1.html" title="struct nrf52840_pac::TIMER1">TIMER1</a></code></span><div class="docblock"><p>TIMER1</p>
|
|
</div><span id="structfield.TIMER2" class="structfield section-header"><a href="#structfield.TIMER2" class="anchor field">§</a><code>TIMER2: <a class="struct" href="struct.TIMER2.html" title="struct nrf52840_pac::TIMER2">TIMER2</a></code></span><div class="docblock"><p>TIMER2</p>
|
|
</div><span id="structfield.RTC0" class="structfield section-header"><a href="#structfield.RTC0" class="anchor field">§</a><code>RTC0: <a class="struct" href="struct.RTC0.html" title="struct nrf52840_pac::RTC0">RTC0</a></code></span><div class="docblock"><p>RTC0</p>
|
|
</div><span id="structfield.TEMP" class="structfield section-header"><a href="#structfield.TEMP" class="anchor field">§</a><code>TEMP: <a class="struct" href="struct.TEMP.html" title="struct nrf52840_pac::TEMP">TEMP</a></code></span><div class="docblock"><p>TEMP</p>
|
|
</div><span id="structfield.RNG" class="structfield section-header"><a href="#structfield.RNG" class="anchor field">§</a><code>RNG: <a class="struct" href="struct.RNG.html" title="struct nrf52840_pac::RNG">RNG</a></code></span><div class="docblock"><p>RNG</p>
|
|
</div><span id="structfield.ECB" class="structfield section-header"><a href="#structfield.ECB" class="anchor field">§</a><code>ECB: <a class="struct" href="struct.ECB.html" title="struct nrf52840_pac::ECB">ECB</a></code></span><div class="docblock"><p>ECB</p>
|
|
</div><span id="structfield.AAR" class="structfield section-header"><a href="#structfield.AAR" class="anchor field">§</a><code>AAR: <a class="struct" href="struct.AAR.html" title="struct nrf52840_pac::AAR">AAR</a></code></span><div class="docblock"><p>AAR</p>
|
|
</div><span id="structfield.CCM" class="structfield section-header"><a href="#structfield.CCM" class="anchor field">§</a><code>CCM: <a class="struct" href="struct.CCM.html" title="struct nrf52840_pac::CCM">CCM</a></code></span><div class="docblock"><p>CCM</p>
|
|
</div><span id="structfield.WDT" class="structfield section-header"><a href="#structfield.WDT" class="anchor field">§</a><code>WDT: <a class="struct" href="struct.WDT.html" title="struct nrf52840_pac::WDT">WDT</a></code></span><div class="docblock"><p>WDT</p>
|
|
</div><span id="structfield.RTC1" class="structfield section-header"><a href="#structfield.RTC1" class="anchor field">§</a><code>RTC1: <a class="struct" href="struct.RTC1.html" title="struct nrf52840_pac::RTC1">RTC1</a></code></span><div class="docblock"><p>RTC1</p>
|
|
</div><span id="structfield.QDEC" class="structfield section-header"><a href="#structfield.QDEC" class="anchor field">§</a><code>QDEC: <a class="struct" href="struct.QDEC.html" title="struct nrf52840_pac::QDEC">QDEC</a></code></span><div class="docblock"><p>QDEC</p>
|
|
</div><span id="structfield.COMP" class="structfield section-header"><a href="#structfield.COMP" class="anchor field">§</a><code>COMP: <a class="struct" href="struct.COMP.html" title="struct nrf52840_pac::COMP">COMP</a></code></span><div class="docblock"><p>COMP</p>
|
|
</div><span id="structfield.LPCOMP" class="structfield section-header"><a href="#structfield.LPCOMP" class="anchor field">§</a><code>LPCOMP: <a class="struct" href="struct.LPCOMP.html" title="struct nrf52840_pac::LPCOMP">LPCOMP</a></code></span><div class="docblock"><p>LPCOMP</p>
|
|
</div><span id="structfield.EGU0" class="structfield section-header"><a href="#structfield.EGU0" class="anchor field">§</a><code>EGU0: <a class="struct" href="struct.EGU0.html" title="struct nrf52840_pac::EGU0">EGU0</a></code></span><div class="docblock"><p>EGU0</p>
|
|
</div><span id="structfield.SWI0" class="structfield section-header"><a href="#structfield.SWI0" class="anchor field">§</a><code>SWI0: <a class="struct" href="struct.SWI0.html" title="struct nrf52840_pac::SWI0">SWI0</a></code></span><div class="docblock"><p>SWI0</p>
|
|
</div><span id="structfield.EGU1" class="structfield section-header"><a href="#structfield.EGU1" class="anchor field">§</a><code>EGU1: <a class="struct" href="struct.EGU1.html" title="struct nrf52840_pac::EGU1">EGU1</a></code></span><div class="docblock"><p>EGU1</p>
|
|
</div><span id="structfield.SWI1" class="structfield section-header"><a href="#structfield.SWI1" class="anchor field">§</a><code>SWI1: <a class="struct" href="struct.SWI1.html" title="struct nrf52840_pac::SWI1">SWI1</a></code></span><div class="docblock"><p>SWI1</p>
|
|
</div><span id="structfield.EGU2" class="structfield section-header"><a href="#structfield.EGU2" class="anchor field">§</a><code>EGU2: <a class="struct" href="struct.EGU2.html" title="struct nrf52840_pac::EGU2">EGU2</a></code></span><div class="docblock"><p>EGU2</p>
|
|
</div><span id="structfield.SWI2" class="structfield section-header"><a href="#structfield.SWI2" class="anchor field">§</a><code>SWI2: <a class="struct" href="struct.SWI2.html" title="struct nrf52840_pac::SWI2">SWI2</a></code></span><div class="docblock"><p>SWI2</p>
|
|
</div><span id="structfield.EGU3" class="structfield section-header"><a href="#structfield.EGU3" class="anchor field">§</a><code>EGU3: <a class="struct" href="struct.EGU3.html" title="struct nrf52840_pac::EGU3">EGU3</a></code></span><div class="docblock"><p>EGU3</p>
|
|
</div><span id="structfield.SWI3" class="structfield section-header"><a href="#structfield.SWI3" class="anchor field">§</a><code>SWI3: <a class="struct" href="struct.SWI3.html" title="struct nrf52840_pac::SWI3">SWI3</a></code></span><div class="docblock"><p>SWI3</p>
|
|
</div><span id="structfield.EGU4" class="structfield section-header"><a href="#structfield.EGU4" class="anchor field">§</a><code>EGU4: <a class="struct" href="struct.EGU4.html" title="struct nrf52840_pac::EGU4">EGU4</a></code></span><div class="docblock"><p>EGU4</p>
|
|
</div><span id="structfield.SWI4" class="structfield section-header"><a href="#structfield.SWI4" class="anchor field">§</a><code>SWI4: <a class="struct" href="struct.SWI4.html" title="struct nrf52840_pac::SWI4">SWI4</a></code></span><div class="docblock"><p>SWI4</p>
|
|
</div><span id="structfield.EGU5" class="structfield section-header"><a href="#structfield.EGU5" class="anchor field">§</a><code>EGU5: <a class="struct" href="struct.EGU5.html" title="struct nrf52840_pac::EGU5">EGU5</a></code></span><div class="docblock"><p>EGU5</p>
|
|
</div><span id="structfield.SWI5" class="structfield section-header"><a href="#structfield.SWI5" class="anchor field">§</a><code>SWI5: <a class="struct" href="struct.SWI5.html" title="struct nrf52840_pac::SWI5">SWI5</a></code></span><div class="docblock"><p>SWI5</p>
|
|
</div><span id="structfield.TIMER3" class="structfield section-header"><a href="#structfield.TIMER3" class="anchor field">§</a><code>TIMER3: <a class="struct" href="struct.TIMER3.html" title="struct nrf52840_pac::TIMER3">TIMER3</a></code></span><div class="docblock"><p>TIMER3</p>
|
|
</div><span id="structfield.TIMER4" class="structfield section-header"><a href="#structfield.TIMER4" class="anchor field">§</a><code>TIMER4: <a class="struct" href="struct.TIMER4.html" title="struct nrf52840_pac::TIMER4">TIMER4</a></code></span><div class="docblock"><p>TIMER4</p>
|
|
</div><span id="structfield.PWM0" class="structfield section-header"><a href="#structfield.PWM0" class="anchor field">§</a><code>PWM0: <a class="struct" href="struct.PWM0.html" title="struct nrf52840_pac::PWM0">PWM0</a></code></span><div class="docblock"><p>PWM0</p>
|
|
</div><span id="structfield.PDM" class="structfield section-header"><a href="#structfield.PDM" class="anchor field">§</a><code>PDM: <a class="struct" href="struct.PDM.html" title="struct nrf52840_pac::PDM">PDM</a></code></span><div class="docblock"><p>PDM</p>
|
|
</div><span id="structfield.ACL" class="structfield section-header"><a href="#structfield.ACL" class="anchor field">§</a><code>ACL: <a class="struct" href="struct.ACL.html" title="struct nrf52840_pac::ACL">ACL</a></code></span><div class="docblock"><p>ACL</p>
|
|
</div><span id="structfield.NVMC" class="structfield section-header"><a href="#structfield.NVMC" class="anchor field">§</a><code>NVMC: <a class="struct" href="struct.NVMC.html" title="struct nrf52840_pac::NVMC">NVMC</a></code></span><div class="docblock"><p>NVMC</p>
|
|
</div><span id="structfield.PPI" class="structfield section-header"><a href="#structfield.PPI" class="anchor field">§</a><code>PPI: <a class="struct" href="struct.PPI.html" title="struct nrf52840_pac::PPI">PPI</a></code></span><div class="docblock"><p>PPI</p>
|
|
</div><span id="structfield.MWU" class="structfield section-header"><a href="#structfield.MWU" class="anchor field">§</a><code>MWU: <a class="struct" href="struct.MWU.html" title="struct nrf52840_pac::MWU">MWU</a></code></span><div class="docblock"><p>MWU</p>
|
|
</div><span id="structfield.PWM1" class="structfield section-header"><a href="#structfield.PWM1" class="anchor field">§</a><code>PWM1: <a class="struct" href="struct.PWM1.html" title="struct nrf52840_pac::PWM1">PWM1</a></code></span><div class="docblock"><p>PWM1</p>
|
|
</div><span id="structfield.PWM2" class="structfield section-header"><a href="#structfield.PWM2" class="anchor field">§</a><code>PWM2: <a class="struct" href="struct.PWM2.html" title="struct nrf52840_pac::PWM2">PWM2</a></code></span><div class="docblock"><p>PWM2</p>
|
|
</div><span id="structfield.SPI2" class="structfield section-header"><a href="#structfield.SPI2" class="anchor field">§</a><code>SPI2: <a class="struct" href="struct.SPI2.html" title="struct nrf52840_pac::SPI2">SPI2</a></code></span><div class="docblock"><p>SPI2</p>
|
|
</div><span id="structfield.SPIM2" class="structfield section-header"><a href="#structfield.SPIM2" class="anchor field">§</a><code>SPIM2: <a class="struct" href="struct.SPIM2.html" title="struct nrf52840_pac::SPIM2">SPIM2</a></code></span><div class="docblock"><p>SPIM2</p>
|
|
</div><span id="structfield.SPIS2" class="structfield section-header"><a href="#structfield.SPIS2" class="anchor field">§</a><code>SPIS2: <a class="struct" href="struct.SPIS2.html" title="struct nrf52840_pac::SPIS2">SPIS2</a></code></span><div class="docblock"><p>SPIS2</p>
|
|
</div><span id="structfield.RTC2" class="structfield section-header"><a href="#structfield.RTC2" class="anchor field">§</a><code>RTC2: <a class="struct" href="struct.RTC2.html" title="struct nrf52840_pac::RTC2">RTC2</a></code></span><div class="docblock"><p>RTC2</p>
|
|
</div><span id="structfield.I2S" class="structfield section-header"><a href="#structfield.I2S" class="anchor field">§</a><code>I2S: <a class="struct" href="struct.I2S.html" title="struct nrf52840_pac::I2S">I2S</a></code></span><div class="docblock"><p>I2S</p>
|
|
</div><span id="structfield.USBD" class="structfield section-header"><a href="#structfield.USBD" class="anchor field">§</a><code>USBD: <a class="struct" href="struct.USBD.html" title="struct nrf52840_pac::USBD">USBD</a></code></span><div class="docblock"><p>USBD</p>
|
|
</div><span id="structfield.UARTE1" class="structfield section-header"><a href="#structfield.UARTE1" class="anchor field">§</a><code>UARTE1: <a class="struct" href="struct.UARTE1.html" title="struct nrf52840_pac::UARTE1">UARTE1</a></code></span><div class="docblock"><p>UARTE1</p>
|
|
</div><span id="structfield.QSPI" class="structfield section-header"><a href="#structfield.QSPI" class="anchor field">§</a><code>QSPI: <a class="struct" href="struct.QSPI.html" title="struct nrf52840_pac::QSPI">QSPI</a></code></span><div class="docblock"><p>QSPI</p>
|
|
</div><span id="structfield.PWM3" class="structfield section-header"><a href="#structfield.PWM3" class="anchor field">§</a><code>PWM3: <a class="struct" href="struct.PWM3.html" title="struct nrf52840_pac::PWM3">PWM3</a></code></span><div class="docblock"><p>PWM3</p>
|
|
</div><span id="structfield.SPIM3" class="structfield section-header"><a href="#structfield.SPIM3" class="anchor field">§</a><code>SPIM3: <a class="struct" href="struct.SPIM3.html" title="struct nrf52840_pac::SPIM3">SPIM3</a></code></span><div class="docblock"><p>SPIM3</p>
|
|
</div><span id="structfield.P0" class="structfield section-header"><a href="#structfield.P0" class="anchor field">§</a><code>P0: <a class="struct" href="struct.P0.html" title="struct nrf52840_pac::P0">P0</a></code></span><div class="docblock"><p>P0</p>
|
|
</div><span id="structfield.P1" class="structfield section-header"><a href="#structfield.P1" class="anchor field">§</a><code>P1: <a class="struct" href="struct.P1.html" title="struct nrf52840_pac::P1">P1</a></code></span><div class="docblock"><p>P1</p>
|
|
</div><span id="structfield.CC_HOST_RGF" class="structfield section-header"><a href="#structfield.CC_HOST_RGF" class="anchor field">§</a><code>CC_HOST_RGF: <a class="struct" href="struct.CC_HOST_RGF.html" title="struct nrf52840_pac::CC_HOST_RGF">CC_HOST_RGF</a></code></span><div class="docblock"><p>CC_HOST_RGF</p>
|
|
</div><span id="structfield.CRYPTOCELL" class="structfield section-header"><a href="#structfield.CRYPTOCELL" class="anchor field">§</a><code>CRYPTOCELL: <a class="struct" href="struct.CRYPTOCELL.html" title="struct nrf52840_pac::CRYPTOCELL">CRYPTOCELL</a></code></span><div class="docblock"><p>CRYPTOCELL</p>
|
|
</div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Peripherals" class="impl"><a class="src rightside" href="../src/nrf52840_pac/lib.rs.html#2429-2664">source</a><a href="#impl-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Peripherals.html" title="struct nrf52840_pac::Peripherals">Peripherals</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.take" class="method"><a class="src rightside" href="../src/nrf52840_pac/lib.rs.html#2432-2440">source</a><h4 class="code-header">pub fn <a href="#method.take" class="fn">take</a>() -> <a class="enum" href="https://doc.rust-lang.org/1.82.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Returns all the peripherals <em>once</em></p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.steal" class="method"><a class="src rightside" href="../src/nrf52840_pac/lib.rs.html#2443-2663">source</a><h4 class="code-header">pub unsafe fn <a href="#method.steal" class="fn">steal</a>() -> Self</h4></section></summary><div class="docblock"><p>Unchecked version of <code>Peripherals::take</code></p>
|
|
</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Peripherals" class="impl"><a href="#impl-Freeze-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Peripherals.html" title="struct nrf52840_pac::Peripherals">Peripherals</a></h3></section><section id="impl-RefUnwindSafe-for-Peripherals" class="impl"><a href="#impl-RefUnwindSafe-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Peripherals.html" title="struct nrf52840_pac::Peripherals">Peripherals</a></h3></section><section id="impl-Send-for-Peripherals" class="impl"><a href="#impl-Send-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Peripherals.html" title="struct nrf52840_pac::Peripherals">Peripherals</a></h3></section><section id="impl-Sync-for-Peripherals" class="impl"><a href="#impl-Sync-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.82.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Peripherals.html" title="struct nrf52840_pac::Peripherals">Peripherals</a></h3></section><section id="impl-Unpin-for-Peripherals" class="impl"><a href="#impl-Unpin-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Peripherals.html" title="struct nrf52840_pac::Peripherals">Peripherals</a></h3></section><section id="impl-UnwindSafe-for-Peripherals" class="impl"><a href="#impl-UnwindSafe-for-Peripherals" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Peripherals.html" title="struct nrf52840_pac::Peripherals">Peripherals</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
|
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.82.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/any.rs.html#139">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.82.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.82.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.82.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/borrow.rs.html#209">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/1.82.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/borrow.rs.html#211">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.82.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.82.0/core/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.82.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/borrow.rs.html#217">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
|
T: ?<a class="trait" href="https://doc.rust-lang.org/1.82.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/borrow.rs.html#218">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.82.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.82.0/core/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.82.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#765">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#768">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.82.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#748-750">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#758">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.82.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
|
<p>That is, this conversion is whatever the implementation of
|
|
<code><a href="https://doc.rust-lang.org/1.82.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
|
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#805-807">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#809">source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.82.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#812">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.82.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#790-792">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
|
U: <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#794">source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.82.0/src/core/convert/mod.rs.html#797">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.82.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.82.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html> |