rtic/2/api/imxrt_ral/struct.Instances.html

78 lines
44 KiB
HTML
Raw Normal View History

<!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="Instances for all of this devices peripherals."><title>Instances in imxrt_ral - 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-b0742ba02757f159.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="imxrt_ral" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0 (90b35a623 2024-11-26)" data-channel="1.83.0" data-search-js="search-f0d225181b97f9a4.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.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="../imxrt_ral/index.html">imxrt_<wbr>ral</a><span class="version">0.5.3</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Instances</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.ADC" title="ADC">ADC</a></li><li><a href="#structfield.ADC_ETC" title="ADC_ETC">ADC_ETC</a></li><li><a href="#structfield.AIPSTZ1" title="AIPSTZ1">AIPSTZ1</a></li><li><a href="#structfield.AIPSTZ2" title="AIPSTZ2">AIPSTZ2</a></li><li><a href="#structfield.AOI" title="AOI">AOI</a></li><li><a href="#structfield.CCM" title="CCM">CCM</a></li><li><a href="#structfield.CCM_ANALOG" title="CCM_ANALOG">CCM_ANALOG</a></li><li><a href="#structfield.CSU" title="CSU">CSU</a></li><li><a href="#structfield.DCDC" title="DCDC">DCDC</a></li><li><a href="#structfield.DCP" title="DCP">DCP</a></li><li><a href="#structfield.DMA" title="DMA">DMA</a></li><li><a href="#structfield.DMAMUX" title="DMAMUX">DMAMUX</a></li><li><a href="#structfield.EWM" title="EWM">EWM</a></li><li><a href="#structfield.FLEXIO1" title="FLEXIO1">FLEXIO1</a></li><li><a href="#structfield.FLEXRAM" title="FLEXRAM">FLEXRAM</a></li><li><a href="#structfield.FLEXSPI" title="FLEXSPI">FLEXSPI</a></li><li><a href="#structfield.GPC" title="GPC">GPC</a></li><li><a href="#structfield.GPIO1" title="GPIO1">GPIO1</a></li><li><a href="#structfield.GPIO2" title="GPIO2">GPIO2</a></li><li><a href="#structfield.GPIO5" title="GPIO5">GPIO5</a></li><li><a href="#structfield.GPT1" title="GPT1">GPT1</a></li><li><a href="#structfield.GPT2" title="GPT2">GPT2</a></li><li><a href="#structfield.IOMUXC" title="IOMUXC">IOMUXC</a></li><li><a href="#structfield.IOMUXC_GPR" title="IOMUXC_GPR">IOMUXC_GPR</a></li><li><a href="#structfield.IOMUXC_SNVS" title="IOMUXC_SNVS">IOMUXC_SNVS</a></li><li><a href="#structfield.IOMUXC_SNVS_GPR" title="IOMUXC_SNVS_GPR">IOMUXC_SNVS_GPR</a></li><li><a href="#structfield.KPP" title="KPP">KPP</a></li><li><a href="#structfield.LPI2C1" title="LPI2C1">LPI2C1</a></li><li><a href="#structfield.LPI2C2" title="LPI
pub ADC: <a class="type" href="adc/type.ADC.html" title="type imxrt_ral::adc::ADC">ADC</a>,
pub ADC_ETC: <a class="type" href="adc_etc/type.ADC_ETC.html" title="type imxrt_ral::adc_etc::ADC_ETC">ADC_ETC</a>,
pub AIPSTZ1: <a class="type" href="aipstz/type.AIPSTZ1.html" title="type imxrt_ral::aipstz::AIPSTZ1">AIPSTZ1</a>,
pub AIPSTZ2: <a class="type" href="aipstz/type.AIPSTZ2.html" title="type imxrt_ral::aipstz::AIPSTZ2">AIPSTZ2</a>,
pub AOI: <a class="type" href="aoi/type.AOI.html" title="type imxrt_ral::aoi::AOI">AOI</a>,
pub CCM: <a class="type" href="ccm/type.CCM.html" title="type imxrt_ral::ccm::CCM">CCM</a>,
pub CCM_ANALOG: <a class="type" href="ccm_analog/type.CCM_ANALOG.html" title="type imxrt_ral::ccm_analog::CCM_ANALOG">CCM_ANALOG</a>,
pub CSU: <a class="type" href="csu/type.CSU.html" title="type imxrt_ral::csu::CSU">CSU</a>,
pub DCDC: <a class="type" href="dcdc/type.DCDC.html" title="type imxrt_ral::dcdc::DCDC">DCDC</a>,
pub DCP: <a class="type" href="dcp/type.DCP.html" title="type imxrt_ral::dcp::DCP">DCP</a>,
pub DMA: <a class="type" href="dma/type.DMA.html" title="type imxrt_ral::dma::DMA">DMA</a>,
pub DMAMUX: <a class="type" href="dmamux/type.DMAMUX.html" title="type imxrt_ral::dmamux::DMAMUX">DMAMUX</a>,
pub EWM: <a class="type" href="ewm/type.EWM.html" title="type imxrt_ral::ewm::EWM">EWM</a>,
pub FLEXIO1: <a class="type" href="flexio/type.FLEXIO.html" title="type imxrt_ral::flexio::FLEXIO">FLEXIO1</a>,
pub FLEXRAM: <a class="type" href="flexram/type.FLEXRAM.html" title="type imxrt_ral::flexram::FLEXRAM">FLEXRAM</a>,
pub FLEXSPI: <a class="type" href="flexspi/type.FLEXSPI.html" title="type imxrt_ral::flexspi::FLEXSPI">FLEXSPI</a>,
pub GPC: <a class="type" href="gpc/type.GPC.html" title="type imxrt_ral::gpc::GPC">GPC</a>,
pub GPIO1: <a class="type" href="gpio/type.GPIO1.html" title="type imxrt_ral::gpio::GPIO1">GPIO1</a>,
pub GPIO5: <a class="type" href="gpio/type.GPIO5.html" title="type imxrt_ral::gpio::GPIO5">GPIO5</a>,
pub GPIO2: <a class="type" href="gpio/type.GPIO2.html" title="type imxrt_ral::gpio::GPIO2">GPIO2</a>,
pub GPT1: <a class="type" href="gpt/type.GPT1.html" title="type imxrt_ral::gpt::GPT1">GPT1</a>,
pub GPT2: <a class="type" href="gpt/type.GPT2.html" title="type imxrt_ral::gpt::GPT2">GPT2</a>,
pub IOMUXC: <a class="type" href="iomuxc/type.IOMUXC.html" title="type imxrt_ral::iomuxc::IOMUXC">IOMUXC</a>,
pub IOMUXC_GPR: <a class="type" href="iomuxc_gpr/type.IOMUXC_GPR.html" title="type imxrt_ral::iomuxc_gpr::IOMUXC_GPR">IOMUXC_GPR</a>,
pub IOMUXC_SNVS: <a class="type" href="iomuxc_snvs/type.IOMUXC_SNVS.html" title="type imxrt_ral::iomuxc_snvs::IOMUXC_SNVS">IOMUXC_SNVS</a>,
pub IOMUXC_SNVS_GPR: <a class="type" href="iomuxc_snvs_gpr/type.IOMUXC_SNVS_GPR.html" title="type imxrt_ral::iomuxc_snvs_gpr::IOMUXC_SNVS_GPR">IOMUXC_SNVS_GPR</a>,
pub KPP: <a class="type" href="kpp/type.KPP.html" title="type imxrt_ral::kpp::KPP">KPP</a>,
pub LPI2C1: <a class="type" href="lpi2c/type.LPI2C1.html" title="type imxrt_ral::lpi2c::LPI2C1">LPI2C1</a>,
pub LPI2C2: <a class="type" href="lpi2c/type.LPI2C2.html" title="type imxrt_ral::lpi2c::LPI2C2">LPI2C2</a>,
pub LPSPI1: <a class="type" href="lpspi/type.LPSPI1.html" title="type imxrt_ral::lpspi::LPSPI1">LPSPI1</a>,
pub LPSPI2: <a class="type" href="lpspi/type.LPSPI2.html" title="type imxrt_ral::lpspi::LPSPI2">LPSPI2</a>,
pub LPUART1: <a class="type" href="lpuart/type.LPUART1.html" title="type imxrt_ral::lpuart::LPUART1">LPUART1</a>,
pub LPUART2: <a class="type" href="lpuart/type.LPUART2.html" title="type imxrt_ral::lpuart::LPUART2">LPUART2</a>,
pub LPUART3: <a class="type" href="lpuart/type.LPUART3.html" title="type imxrt_ral::lpuart::LPUART3">LPUART3</a>,
pub LPUART4: <a class="type" href="lpuart/type.LPUART4.html" title="type imxrt_ral::lpuart::LPUART4">LPUART4</a>,
pub OCOTP: <a class="type" href="ocotp/type.OCOTP.html" title="type imxrt_ral::ocotp::OCOTP">OCOTP</a>,
pub OTFAD: <a class="type" href="otfad/type.OTFAD.html" title="type imxrt_ral::otfad::OTFAD">OTFAD</a>,
pub PGC: <a class="type" href="pgc/type.PGC.html" title="type imxrt_ral::pgc::PGC">PGC</a>,
pub PIT: <a class="type" href="pit/type.PIT.html" title="type imxrt_ral::pit::PIT">PIT</a>,
pub PMU: <a class="type" href="pmu/type.PMU.html" title="type imxrt_ral::pmu::PMU">PMU</a>,
pub PWM: <a class="type" href="pwm/type.PWM.html" title="type imxrt_ral::pwm::PWM">PWM</a>,
pub ROMC: <a class="type" href="romc/type.ROMC.html" title="type imxrt_ral::romc::ROMC">ROMC</a>,
pub RTWDOG: <a class="type" href="rtwdog/type.RTWDOG.html" title="type imxrt_ral::rtwdog::RTWDOG">RTWDOG</a>,
pub SAI1: <a class="type" href="sai/type.SAI1.html" title="type imxrt_ral::sai::SAI1">SAI1</a>,
pub SAI3: <a class="type" href="sai/type.SAI3.html" title="type imxrt_ral::sai::SAI3">SAI3</a>,
pub SNVS: <a class="type" href="snvs/type.SNVS.html" title="type imxrt_ral::snvs::SNVS">SNVS</a>,
pub SPDIF: <a class="type" href="spdif/type.SPDIF.html" title="type imxrt_ral::spdif::SPDIF">SPDIF</a>,
pub SRC: <a class="type" href="src/type.SRC.html" title="type imxrt_ral::src::SRC">SRC</a>,
pub TEMPMON: <a class="type" href="tempmon/type.TEMPMON.html" title="type imxrt_ral::tempmon::TEMPMON">TEMPMON</a>,
pub TRNG: <a class="type" href="trng/type.TRNG.html" title="type imxrt_ral::trng::TRNG">TRNG</a>,
pub USB: <a class="type" href="usb/type.USB.html" title="type imxrt_ral::usb::USB">USB</a>,
pub USB_ANALOG: <a class="type" href="usb_analog/type.USB_ANALOG.html" title="type imxrt_ral::usb_analog::USB_ANALOG">USB_ANALOG</a>,
pub USBNC: <a class="type" href="usbnc/type.USBNC.html" title="type imxrt_ral::usbnc::USBNC">USBNC</a>,
pub USBPHY: <a class="type" href="usbphy/type.USBPHY.html" title="type imxrt_ral::usbphy::USBPHY">USBPHY</a>,
pub WDOG1: <a class="type" href="wdog/type.WDOG1.html" title="type imxrt_ral::wdog::WDOG1">WDOG1</a>,
pub WDOG2: <a class="type" href="wdog/type.WDOG2.html" title="type imxrt_ral::wdog::WDOG2">WDOG2</a>,
pub XBARA: <a class="type" href="xbara/type.XBARA.html" title="type imxrt_ral::xbara::XBARA">XBARA</a>,
pub XTALOSC24M: <a class="type" href="xtalosc24m/type.XTALOSC24M.html" title="type imxrt_ral::xtalosc24m::XTALOSC24M">XTALOSC24M</a>,
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Instances for all of this devices peripherals.</p>
<p>Use this if you want a single way to acquire <em>all</em> instances
for your device.</p>
</div></details><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.ADC" class="structfield section-header"><a href="#structfield.ADC" class="anchor field">§</a><code>ADC: <a class="type" href="adc/type.ADC.html" title="type imxrt_ral::adc::ADC">ADC</a></code></span><span id="structfield.ADC_ETC" class="structfield section-header"><a href="#structfield.ADC_ETC" class="anchor field">§</a><code>ADC_ETC: <a class="type" href="adc_etc/type.ADC_ETC.html" title="type imxrt_ral::adc_etc::ADC_ETC">ADC_ETC</a></code></span><span id="structfield.AIPSTZ1" class="structfield section-header"><a href="#structfield.AIPSTZ1" class="anchor field">§</a><code>AIPSTZ1: <a class="type" href="aipstz/type.AIPSTZ1.html" title="type imxrt_ral::aipstz::AIPSTZ1">AIPSTZ1</a></code></span><span id="structfield.AIPSTZ2" class="structfield section-header"><a href="#structfield.AIPSTZ2" class="anchor field">§</a><code>AIPSTZ2: <a class="type" href="aipstz/type.AIPSTZ2.html" title="type imxrt_ral::aipstz::AIPSTZ2">AIPSTZ2</a></code></span><span id="structfield.AOI" class="structfield section-header"><a href="#structfield.AOI" class="anchor field">§</a><code>AOI: <a class="type" href="aoi/type.AOI.html" title="type imxrt_ral::aoi::AOI">AOI</a></code></span><span id="structfield.CCM" class="structfield section-header"><a href="#structfield.CCM" class="anchor field">§</a><code>CCM: <a class="type" href="ccm/type.CCM.html" title="type imxrt_ral::ccm::CCM">CCM</a></code></span><span id="structfield.CCM_ANALOG" class="structfield section-header"><a href="#structfield.CCM_ANALOG" class="anchor field">§</a><code>CCM_ANALOG: <a class="type" href="ccm_analog/type.CCM_ANALOG.html" title="type imxrt_ral::ccm_analog::CCM_ANALOG">CCM_ANALOG</a></code></span><span id="structfield.CSU" class="structfield section-header"><a href="#structfield.CSU" class="anchor field">§</a><code>CSU: <a class="type" href="csu/type.CSU.html" title="type imxrt_ral::csu::CSU">CSU</a></code></span><span id="structfield.DCDC" class="structfield section-header"><a href="#structfield.DCDC" class="anchor field">§</a><code>DCDC: <a class="type" href="dcdc/type.DCDC.html" title="type imxrt_ral::dcdc::DCDC">DCDC</a></code></span><span id="structfield.DCP" class="structfield section-header"><a href="#structfield.DCP" class="anchor field">§</a><code>DCP: <a class="type" href="dcp/type.DCP.html" title="type imxrt_ral::dcp::DCP">DCP</a></code></span><span id="structfield.DMA" class="structfield section-header"><a href="#structfield.DMA" class="anchor field">§</a><code>DMA: <a class="type" href="dma/type.DMA.html" title="type imxrt_ral::dma::DMA">DMA</a></code></span><span id="structfield.DMAMUX" class="structfield section-header"><a href="#structfield.DMAMUX" class="anchor field">§</a><code>DMAMUX: <a class="type" href="dmamux/type.DMAMUX.html" title="type imxrt_ral::dmamux::DMAMUX">DMAMUX</a></code></span><span id="structfield.EWM" class="structfield section-header"><a href="#structfield.EWM" class="anchor field">§</a><code>EWM: <a class="type" href="ewm/type.EWM.html" title="type imxrt_ral::ewm::EWM">EWM</a></code></span><span id="structfield.FLEXIO1" class="structfield section-header"><a href="#structfield.FLEXIO1" class="anchor field">§</a><code>FLEXIO1: <a class="type" href="flexio/type.FLEXIO.html" title="type imxrt_ral::flexio::FLEXIO">FLEXIO1</a></code></span><span id="structfield.FLEXRAM" class="structfield section-header"><a href="#structfield.FLEXRAM" class="anchor field">§</a><code>FLEXRAM: <a class="type" href="flexram/type.FLEXRAM.html" title="type imxrt_ral::flexram::FLEXRAM">FLEXRAM</a></code></span><span id="structfield.FLEXSPI" class="structfield section-header"><a href="#structfield.FLEXSPI" class="anchor field">§</a><code>FLEXSPI: <a class="type" href="flexspi/type.FLEXSPI.html" title="type imxrt_ral::flexspi::FLEXSPI">FLEXSPI</a></code></span><span id="structfield.GPC" class="structfield section-header"><a href="#structfield.GPC" class="anchor field">§</a><code>GPC: <a class="type" href="gpc/type.G
<h5 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h5>
<p>Since this calls <code>instance()</code> to initialize each of its members,
the <code>instance()</code> safety contract applies. See <a href="struct.Instance.html" title="struct imxrt_ral::Instance">the <code>Instance</code> safety
documentation</a> for more information.</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-Instances" class="impl"><a href="#impl-Freeze-for-Instances" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Instances.html" title="struct imxrt_ral::Instances">Instances</a></h3></section><section id="impl-RefUnwindSafe-for-Instances" class="impl"><a href="#impl-RefUnwindSafe-for-Instances" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Instances.html" title="struct imxrt_ral::Instances">Instances</a></h3></section><section id="impl-Send-for-Instances" class="impl"><a href="#impl-Send-for-Instances" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Instances.html" title="struct imxrt_ral::Instances">Instances</a></h3></section><section id="impl-Sync-for-Instances" class="impl"><a href="#impl-Sync-for-Instances" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Instances.html" title="struct imxrt_ral::Instances">Instances</a></h3></section><section id="impl-Unpin-for-Instances" class="impl"><a href="#impl-Unpin-for-Instances" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Instances.html" title="struct imxrt_ral::Instances">Instances</a></h3></section><section id="impl-UnwindSafe-for-Instances" class="impl"><a href="#impl-UnwindSafe-for-Instances" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.83.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Instances.html" title="struct imxrt_ral::Instances">Instances</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.83.0/src/core/any.rs.html#138">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.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.83.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.83.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.83.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.83.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.83.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.83.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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.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.83.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.83.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.83.0/core/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.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.83.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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.83.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.83.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.83.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.83.0/core/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.83.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.83.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&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; 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.83.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.83.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; 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.83.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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</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.83.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.83.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; 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.83.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; 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.83.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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</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.83.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.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.83.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.83.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.83.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</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.83.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&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</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.83.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.83.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.83.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.83.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.83.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html>