<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `ArrayString` struct in crate `arrayvec`."><metaname="keywords"content="rust, rustlang, rust-lang, ArrayString"><title>arrayvec::ArrayString - Rust</title><linkrel="stylesheet"type="text/css"href="../normalize.css"><linkrel="stylesheet"type="text/css"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../dark.css"><linkrel="stylesheet"type="text/css"href="../light.css"id="themeStyle"><scriptsrc="../storage.js"></script><noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="shortcut icon"href="../favicon.ico"><styletype="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><ahref='../arrayvec/index.html'><divclass='logo-container'><imgsrc='../rust-logo.png'alt='logo'></div></a><pclass='location'>Struct ArrayString</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#methods">Methods</a><divclass="sidebar-links"><ahref="#method.as_str">as_str</a><ahref="#method.capacity">capacity</a><ahref="#method.clear">clear</a><ahref="#method.from">from</a><ahref="#method.from_byte_string">from_byte_string</a><ahref="#method.is_full">is_full</a><ahref="#method.new">new</a><ahref="#method.pop">pop</a><ahref="#method.push">push</a><ahref="#method.push_str">push_str</a><ahref="#method.remove">remove</a><ahref="#method.set_len">set_len</a><ahref="#method.truncate">truncate</a><ahref="#method.try_push">try_push</a><ahref="#method.try_push_str">try_push_str</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-AsRef%3Cstr%3E">AsRef<str></a><ahref="#impl-Borrow%3Cstr%3E">Borrow<str></a><ahref="#impl-Clone">Clone</a><ahref="#impl-Copy">Copy</a><ahref="#impl-Debug">Debug</a><ahref="#impl-Default">Default</a><ahref="#impl-Deref">Deref</a><ahref="#impl-DerefMut">DerefMut</a><ahref="#impl-Display">Display</a><ahref="#impl-Eq">Eq</a><ahref="#impl-Hash">Hash</a><ahref="#impl-Ord">Ord</a><ahref="#impl-PartialEq%3CArrayString%3CA%3E%3E">PartialEq<ArrayString<A>></a><ahref="#impl-PartialEq%3Cstr%3E">PartialEq<str></a><ahref="#impl-PartialOrd%3CArrayString%3CA%3E%3E">PartialOrd<ArrayString<A>></a><ahref="#impl-PartialOrd%3Cstr%3E">PartialOrd<str></a><ahref="#impl-Write">Write</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a><ahref="#impl-Unpin">Unpin</a></div><aclass="sidebar-title"href="#blanket-implementations">Blanket Implementations</a><divclass="sidebar-links"><ahref="#impl-Any">Any</a><ahref="#impl-Borrow%3CT%3E">Borrow<T></a><ahref="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><ahref="#impl-From%3CT%3E">From<T></a><ahref="#impl-Into%3CU%3E">Into<U></a><ahref="#impl-TryFrom%3CU%3E">TryFrom<U></a><ahref="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><pclass='location'><ahref='index.html'>arrayvec</a></p><script>window.sidebarCurrent={name:'ArrayString',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><div><selectid="crate-search"><optionvalue="All crates">All crates</option></select><inp
<p>The <code>ArrayString</code> is a string backed by a fixed size array. It keeps track
of its length.</p>
<p>The string is a contiguous value that you can store directly on the stack
if needed.</p>
</div><h2id='methods'class='small-section-header'>Methods<ahref='#methods'class='anchor'></a></h2><h3id='impl'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#41-347'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.new'class="method"><codeid='new.v'>pub fn <ahref='#method.new'class='fnname'>new</a>() -><aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#54-62'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Create a new empty <code>ArrayString</code>.</p>
<p>Capacity is inferred from the type parameter.</p>
</div><h4id='method.from'class="method"><codeid='from.v'>pub fn <ahref='#method.from'class='fnname'>from</a>(s: &str) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Self, <aclass="struct"href="../arrayvec/struct.CapacityError.html"title="struct arrayvec::CapacityError">CapacityError</a><&str>></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#78-82'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Create a new <code>ArrayString</code> from a <code>str</code>.</p>
<p>Capacity is inferred from the type parameter.</p>
<p><strong>Errors</strong> if the backing array is not large enough to fit the string.</p>
</div><h4id='method.from_byte_string'class="method"><codeid='from_byte_string.v'>pub fn <ahref='#method.from_byte_string'class='fnname'>from_byte_string</a>(b: &A) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Self, <aclass="struct"href="https://doc.rust-lang.org/nightly/core/str/struct.Utf8Error.html"title="struct core::str::Utf8Error">Utf8Error</a>></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#93-99'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Create a new <code>ArrayString</code> from a byte string literal.</p>
<p><strong>Errors</strong> if the byte string literal is not valid UTF-8.</p>
</div><h4id='method.capacity'class="method"><codeid='capacity.v'>pub fn <ahref='#method.capacity'class='fnname'>capacity</a>(&self) -> usize</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#110'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Return the capacity of the <code>ArrayString</code>.</p>
</div><h4id='method.is_full'class="method"><codeid='is_full.v'>pub fn <ahref='#method.is_full'class='fnname'>is_full</a>(&self) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#122'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Return if the <code>ArrayString</code> is completely filled.</p>
</div><h4id='method.push'class="method"><codeid='push.v'>pub fn <ahref='#method.push'class='fnname'>push</a>(&mut self, c: char)</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#138-140'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Adds the given char to the end of the string.</p>
<p><em><strong>Panics</strong></em> if the backing array is not large enough to fit the additional char.</p>
</div><h4id='method.try_push'class="method"><codeid='try_push.v'>pub fn <ahref='#method.try_push'class='fnname'>try_push</a>(&mut self, c: char) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><(), <aclass="struct"href="../arrayvec/struct.CapacityError.html"title="struct arrayvec::CapacityError">CapacityError</a><char>></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#160-171'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Adds the given char to the end of the string.</p>
<p>Returns <code>Ok</code> if the push succeeds.</p>
<p><strong>Errors</strong> if the backing array is not large enough to fit the additional char.</p>
</div><h4id='method.push_str'class="method"><codeid='push_str.v'>pub fn <ahref='#method.push_str'class='fnname'>push_str</a>(&mut self, s: &str)</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#187-189'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Adds the given string slice to the end of the string.</p>
<p><em><strong>Panics</strong></em> if the backing array is not large enough to fit the string.</p>
</div><h4id='method.try_push_str'class="method"><codeid='try_push_str.v'>pub fn <ahref='#method.try_push_str'class='fnname'>try_push_str</a><'a>(<br> &mut self, <br> s: &'a str<br>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><(), <aclass="struct"href="../arrayvec/struct.CapacityError.html"title="struct arrayvec::CapacityError">CapacityError</a><&'a str>></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#211-223'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Adds the given string slice to the end of the string.</p>
<p>Returns <code>Ok</code> if the push succeeds.</p>
<p><strong>Errors</strong> if the backing array is not large enough to fit the string.</p>
</div><h4id='method.pop'class="method"><codeid='pop.v'>pub fn <ahref='#method.pop'class='fnname'>pop</a>(&mut self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><char></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#241-251'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Removes the last character from the string and returns it.</p>
<p>Returns <code>None</code> if this <code>ArrayString</code> is empty.</p>
</div><h4id='method.truncate'class="method"><codeid='truncate.v'>pub fn <ahref='#method.truncate'class='fnname'>truncate</a>(&mut self, new_len: usize)</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#270-281'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Shortens this <code>ArrayString</code> to the specified length.</p>
<p>If <code>new_len</code> is greater than the string’s current length, this has no
effect.</p>
<p><em><strong>Panics</strong></em> if <code>new_len</code> does not lie on a <code>char</code> boundary.</p>
</div><h4id='method.remove'class="method"><codeid='remove.v'>pub fn <ahref='#method.remove'class='fnname'>remove</a>(&mut self, idx: usize) -> char</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#301-316'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Removes a <code>char</code> from this <code>ArrayString</code> at a byte position and returns it.</p>
<p>This is an <code>O(n)</code> operation, as it requires copying every element in the
array.</p>
<p><em><strong>Panics</strong></em> if <code>idx</code> is larger than or equal to the <code>ArrayString</code>’s length,
or if it does not lie on a <code>char</code> boundary.</p>
<p>This function is <code>unsafe</code> because it changes the notion of the
number of “valid” bytes in the string. Use with care.</p>
<p>This method uses <em>debug assertions</em> to check the validity of <code>length</code>
and may use other debug assertions.</p>
</div><h4id='method.as_str'class="method"><codeid='as_str.v'>pub fn <ahref='#method.as_str'class='fnname'>as_str</a>(&self) ->&str</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#339-341'title='goto source code'>[src]</a></h4><divclass='docblock'><p>Return a string slice of the whole <code>ArrayString</code>.</p>
</div></div><h3id='impl-PartialEq%3CArrayString%3CA%3E%3E'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A>> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-PartialEq%3CArrayString%3CA%3E%3E'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#371-375'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq'class="method hidden"><codeid='eq.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, rhs: &Self) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#372-374'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</span>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne'class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#200'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3id='impl-PartialEq%3Cstr%3E'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><str> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-PartialEq%3Cstr%3E'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#377-381'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq-1'class="method hidden"><codeid='eq.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, rhs: &str) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#378-380'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</span>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne'class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#200'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3id='impl-PartialEq%3CArrayString%3CA%3E%3E-1'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A>> for str</code><ahref='#impl-PartialEq%3CArrayString%3CA%3E%3E-1'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#383-387'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.eq-2'class="method hidden"><codeid='eq.v-2'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, rhs: &<aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A>) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#384-386'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</span>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne'class='fnname'>ne</a>(&self, other: &Rhs) -> bool</code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#200'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3id='impl-Eq'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-Eq'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#389'title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Ord'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html"title="trait core::cmp::Ord">Ord</a> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-Ord'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#465-469'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.cmp'class="method hidden"><codeid='cmp.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp'class='fnname'>cmp</a>(&self, rhs: &Self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#466-468'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method returns an <code>Ordering</code> between <code>self</code> and <code>other</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></p>
</div><h4id='method.max'class="method hidden"><codeid='max.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max'class='fnname'>max</a>(self, other: Self) -> Self</code><spanclass='since'title='Stable since Rust version 1.21.0'>1.21.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#563-566'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Compares and returns the maximum of two values. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></p>
</div><h4id='method.min'class="method hidden"><codeid='min.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min'class='fnname'>min</a>(self, other: Self) -> Self</code><spanclass='since'title='Stable since Rust version 1.21.0'>1.21.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#580-583'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Compares and returns the minimum of two values. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></p>
</div><h4id='method.clamp'class="method hidden"><codeid='clamp.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp'class='fnname'>clamp</a>(self, min: Self, max: Self) -> Self</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#604-614'title='goto source code'>[src]</a></h4><divclass='stability hidden'><divclass='stab unstable'><spanclass='emoji'>🔬</span> This is a nightly-only experimental API. (<code>clamp</code>)</div></div><divclass='docblock hidden'><p>Restrict a value to a certain interval. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></p>
</div></div><h3id='impl-PartialOrd%3CArrayString%3CA%3E%3E'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A>> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-PartialOrd%3CArrayString%3CA%3E%3E'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#435-443'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.partial_cmp'class="method hidden"><codeid='partial_cmp.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp'class='fnname'>partial_cmp</a>(&self, rhs: &Self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#436-438'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
</div><h4id='method.lt'class="method hidden"><codeid='lt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt'class='fnname'>lt</a>(&self, rhs: &Self) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#439'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
</div><h4id='method.le'class="method hidden"><codeid='le.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le'class='fnname'>le</a>(&self, rhs: &Self) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#440'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></p>
</div><h4id='method.gt'class="method hidden"><codeid='gt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt'class='fnname'>gt</a>(&self, rhs: &Self) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#441'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
</div><h4id='method.ge'class="method hidden"><codeid='ge.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge'class='fnname'>ge</a>(&self, rhs: &Self) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#442'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></p>
</div></div><h3id='impl-PartialOrd%3Cstr%3E'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><str> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-PartialOrd%3Cstr%3E'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#445-453'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.partial_cmp-1'class="method hidden"><codeid='partial_cmp.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp'class='fnname'>partial_cmp</a>(&self, rhs: &str) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#446-448'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
</div><h4id='method.lt-1'class="method hidden"><codeid='lt.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt'class='fnname'>lt</a>(&self, rhs: &str) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#449'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
</div><h4id='method.le-1'class="method hidden"><codeid='le.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le'class='fnname'>le</a>(&self, rhs: &str) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#450'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></p>
</div><h4id='method.gt-1'class="method hidden"><codeid='gt.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt'class='fnname'>gt</a>(&self, rhs: &str) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#451'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
</div><h4id='method.ge-1'class="method hidden"><codeid='ge.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge'class='fnname'>ge</a>(&self, rhs: &str) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#452'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></p>
</div></div><h3id='impl-PartialOrd%3CArrayString%3CA%3E%3E-1'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html"title="trait core::cmp::PartialOrd">PartialOrd</a><<aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A>> for str</code><ahref='#impl-PartialOrd%3CArrayString%3CA%3E%3E-1'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#455-463'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.partial_cmp-2'class="method hidden"><codeid='partial_cmp.v-2'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp'class='fnname'>partial_cmp</a>(&self, rhs: &<aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="enum"href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html"title="enum core::cmp::Ordering">Ordering</a>></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#456-458'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
</div><h4id='method.lt-2'class="method hidden"><codeid='lt.v-2'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt'class='fnname'>lt</a>(&self, rhs: &<aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A>) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#459'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
</div><h4id='method.le-2'class="method hidden"><codeid='le.v-2'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le'class='fnname'>le</a>(&self, rhs: &<aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A>) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#460'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code><=</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></p>
</div><h4id='method.gt-2'class="method hidden"><codeid='gt.v-2'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt'class='fnname'>gt</a>(&self, rhs: &<aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A>) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#461'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
</div><h4id='method.ge-2'class="method hidden"><codeid='ge.v-2'>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge'class='fnname'>ge</a>(&self, rhs: &<aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A>) -> bool</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#462'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>>=</code> operator. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></p>
</div></div><h3id='impl-Hash'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-Hash'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#391-395'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.hash'class="method hidden"><codeid='hash.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>>(&self, h: &mut H)</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#392-394'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4id='method.hash_slice'class="method hidden"><codeid='hash_slice.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice'class='fnname'>hash_slice</a><H>(data: &[Self], state: &mut H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code><spanclass='since'title='Stable since Rust version 1.3.0'>1.3.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3id='impl-Copy'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> + <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A><spanclass="where fmt-newline">where<br> A::<aclass="type"href="../arrayvec/trait.Array.html#associatedtype.Index"title="type arrayvec::Array::Index">Index</a>: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html"title="trait core::marker::Copy">Copy</a>, </span></code><ahref='#impl-Copy'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#27'title='goto source code'>[src]</a></h3><divclass='impl-items'></div><h3id='impl-Debug'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-Debug'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#405-407'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt'class="method hidden"><codeid='fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#406'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Display'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-Display'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#409-411'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.fmt-1'class="method hidden"><codeid='fmt.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt'class='fnname'>fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#410'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
</div></div><h3id='impl-Write'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Write.html"title="trait core::fmt::Write">Write</a> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-Write'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#414-422'title='goto source code'>[src]</a></h3><divclass='docblock'><p><code>Write</code> appends written data to the end of the string.</p>
</div><divclass='impl-items'><h4id='method.write_char'class="method hidden"><codeid='write_char.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Write.html#method.write_char'class='fnname'>write_char</a>(&mut self, c: char) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#415-417'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Writes a [<code>char</code>] into this writer, returning whether the write succeeded. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Write.html#method.write_char">Read more</a></p>
</div><h4id='method.write_str'class="method hidden"><codeid='write_str.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Write.html#tymethod.write_str'class='fnname'>write_str</a>(&mut self, s: &str) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#419-421'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Writes a slice of bytes into this writer, returning whether the write succeeded. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Write.html#tymethod.write_str">Read more</a></p>
</div><h4id='method.write_fmt'class="method hidden"><codeid='write_fmt.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/fmt/trait.Write.html#method.write_fmt'class='fnname'>write_fmt</a>(&mut self, args: <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Arguments.html"title="struct core::fmt::Arguments">Arguments</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><(), <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html"title="struct core::fmt::Error">Error</a>></code><spanclass='since'title='Stable since Rust version 1.0.0'>1.0.0</span><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/fmt/mod.rs.html#194-196'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Glue for usage of the [<code>write!</code>] macro with implementors of this trait. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Write.html#method.write_fmt">Read more</a></p>
</div></div><h3id='impl-AsRef%3Cstr%3E'class='impl'><codeclass='in-band'>impl<A: <aclass="trait"href="../arrayvec/trait.Array.html"title="trait arrayvec::Array">Array</a><Item = u8>><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html"title="trait core::convert::AsRef">AsRef</a><str> for <aclass="struct"href="../arrayvec/struct.ArrayString.html"title="struct arrayvec::ArrayString">ArrayString</a><A></code><ahref='#impl-AsRef%3Cstr%3E'class='anchor'></a><aclass='srclink'href='../src/arrayvec/array_string.rs.html#401-403'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.as_ref'class="method hidden"><codeid='as_ref.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref'class='fnname'>as_ref</a>(&self) ->&str</code><aclass='srclink'href='../src/arrayvec/array_string.rs.html#402'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryFrom%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></code><ahref='#impl-TryFrom%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#571-577'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error'class="type"><codeid='Error.t'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error'class="type">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_from'class="method hidden"><codeid='try_from.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from'class='fnname'>try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#574-576'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-Into%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></code><ahref='#impl-Into%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#543-548'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.into'class="method hidden"><codeid='into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into'class='fnname'>into</a>(self) -> U</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#545-547'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-TryInto%3CU%3E'class='impl'><codeclass='in-band'>impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><ahref='#impl-TryInto%3CU%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#559-566'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='associatedtype.Error-1'class="type"><codeid='Error.t-1'>type <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error'class="type">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></code></h4><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4id='method.try_into'class="method hidden"><codeid='try_into.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into'class='fnname'>try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="type"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#563-565'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3id='impl-Borrow%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Borrow%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow-1'class="method hidden"><codeid='borrow.v-1'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow'class='fnname'>borrow</a>(&self) ->&T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3id='impl-BorrowMut%3CT%3E'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-BorrowMut%3CT%3E'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.borrow_mut'class="method hidden"><codeid='borrow_mut.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut'class='fnname'>borrow_mut</a>(&mut self) ->&mut T</code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3id='impl-Any'class='impl'><codeclass='in-band'>impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></code><ahref='#impl-Any'class='anchor'></a><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102'title='goto source code'>[src]</a></h3><divclass='impl-items'><h4id='method.type_id'class="method hidden"><codeid='type_id.v'>fn <ahref='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id'class='fnname'>type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></code><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101'title='goto source code'>[src]</a></h4><divclass='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div></div></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="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><divclass="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="arrayvec";</script><scriptsrc="../aliases.js"></script><scriptsrc="../main.js"></script><scriptdefersrc="../search-index.js"></script></body></html>