mentat/docs/apis/rust/ascii/enum.AsciiChar.html
2018-06-22 12:08:32 +01:00

530 lines
No EOL
108 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `AsciiChar` enum in crate `ascii`.">
<meta name="keywords" content="rust, rustlang, rust-lang, AsciiChar">
<title>ascii::AsciiChar - Rust</title>
<link rel="stylesheet" type="text/css" href="../normalize.css">
<link rel="stylesheet" type="text/css" href="../rustdoc.css"
id="mainThemeStyle">
<link rel="stylesheet" type="text/css" href="../dark.css">
<link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle">
<script src="../storage.js"></script>
</head>
<body class="rustdoc enum">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<nav class="sidebar">
<div class="sidebar-menu">&#9776;</div>
<p class='location'>Enum AsciiChar</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Null">Null</a><a href="#variant.SOH">SOH</a><a href="#variant.SOX">SOX</a><a href="#variant.ETX">ETX</a><a href="#variant.EOT">EOT</a><a href="#variant.ENQ">ENQ</a><a href="#variant.ACK">ACK</a><a href="#variant.Bell">Bell</a><a href="#variant.BackSpace">BackSpace</a><a href="#variant.Tab">Tab</a><a href="#variant.LineFeed">LineFeed</a><a href="#variant.VT">VT</a><a href="#variant.FF">FF</a><a href="#variant.CarriageReturn">CarriageReturn</a><a href="#variant.SI">SI</a><a href="#variant.SO">SO</a><a href="#variant.DLE">DLE</a><a href="#variant.DC1">DC1</a><a href="#variant.DC2">DC2</a><a href="#variant.DC3">DC3</a><a href="#variant.DC4">DC4</a><a href="#variant.NAK">NAK</a><a href="#variant.SYN">SYN</a><a href="#variant.ETB">ETB</a><a href="#variant.CAN">CAN</a><a href="#variant.EM">EM</a><a href="#variant.SUB">SUB</a><a href="#variant.ESC">ESC</a><a href="#variant.FS">FS</a><a href="#variant.GS">GS</a><a href="#variant.RS">RS</a><a href="#variant.US">US</a><a href="#variant.Space">Space</a><a href="#variant.Exclamation">Exclamation</a><a href="#variant.Quotation">Quotation</a><a href="#variant.Hash">Hash</a><a href="#variant.Dollar">Dollar</a><a href="#variant.Percent">Percent</a><a href="#variant.Ampersand">Ampersand</a><a href="#variant.Apostrophe">Apostrophe</a><a href="#variant.ParenOpen">ParenOpen</a><a href="#variant.ParenClose">ParenClose</a><a href="#variant.Asterisk">Asterisk</a><a href="#variant.Plus">Plus</a><a href="#variant.Comma">Comma</a><a href="#variant.Minus">Minus</a><a href="#variant.Dot">Dot</a><a href="#variant.Slash">Slash</a><a href="#variant._0">_0</a><a href="#variant._1">_1</a><a href="#variant._2">_2</a><a href="#variant._3">_3</a><a href="#variant._4">_4</a><a href="#variant._5">_5</a><a href="#variant._6">_6</a><a href="#variant._7">_7</a><a href="#variant._8">_8</a><a href="#variant._9">_9</a><a href="#variant.Colon">Colon</a><a href="#variant.Semicolon">Semicolon</a><a href="#variant.LessThan">LessThan</a><a href="#variant.Equal">Equal</a><a href="#variant.GreaterThan">GreaterThan</a><a href="#variant.Question">Question</a><a href="#variant.At">At</a><a href="#variant.A">A</a><a href="#variant.B">B</a><a href="#variant.C">C</a><a href="#variant.D">D</a><a href="#variant.E">E</a><a href="#variant.F">F</a><a href="#variant.G">G</a><a href="#variant.H">H</a><a href="#variant.I">I</a><a href="#variant.J">J</a><a href="#variant.K">K</a><a href="#variant.L">L</a><a href="#variant.M">M</a><a href="#variant.N">N</a><a href="#variant.O">O</a><a href="#variant.P">P</a><a href="#variant.Q">Q</a><a href="#variant.R">R</a><a href="#variant.S">S</a><a href="#variant.T">T</a><a href="#variant.U">U</a><a href="#variant.V">V</a><a href="#variant.W">W</a><a href="#variant.X">X</a><a href="#variant.Y">Y</a><a href="#variant.Z">Z</a><a href="#variant.BracketOpen">BracketOpen</a><a href="#variant.BackSlash">BackSlash</a><a href="#variant.BracketClose">BracketClose</a><a href="#variant.Caret">Caret</a><a href="#variant.UnderScore">UnderScore</a><a href="#variant.Grave">Grave</a><a href="#variant.a">a</a><a href="#variant.b">b</a><a href="#variant.c">c</a><a href="#variant.d">d</a><a href="#variant.e">e</a><a href="#variant.f">f</a><a href="#variant.g">g</a><a href="#variant.h">h</a><a href="#variant.i">i</a><a href="#variant.j">j</a><a href="#variant.k">k</a><a href="#variant.l">l</a><a href="#variant.m">m</a><a href="#variant.n">n</a><a href="#variant.o">o</a><a href="#variant.p">p</a><a href="#variant.q">q</a><a href="#variant.r">r</a><a href="#variant.s">s</a><a href="#variant.t">t</a><a href="#variant.u">u</a><a href="#variant.v">v</a><a href="#variant.w">w</a><a href="#variant.x">x</a><a href="#variant.y">y</a><a href="#variant.z">z</a><a href="#variant.CurlyBraceOpen">CurlyBraceOpen</a><a href="#variant.VerticalBar">VerticalBar</a><a href="#variant.CurlyBraceClose">CurlyBraceClose</a><a href="#variant.Tilde">Tilde</a><a href="#variant.DEL">DEL</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.from">from</a><a href="#method.from_unchecked">from_unchecked</a><a href="#method.as_byte">as_byte</a><a href="#method.as_char">as_char</a><a href="#method.is_alphabetic">is_alphabetic</a><a href="#method.is_digit">is_digit</a><a href="#method.is_alphanumeric">is_alphanumeric</a><a href="#method.is_blank">is_blank</a><a href="#method.is_whitespace">is_whitespace</a><a href="#method.is_control">is_control</a><a href="#method.is_graph">is_graph</a><a href="#method.is_print">is_print</a><a href="#method.is_lowercase">is_lowercase</a><a href="#method.is_uppercase">is_uppercase</a><a href="#method.is_punctuation">is_punctuation</a><a href="#method.is_hex">is_hex</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-PartialEq">PartialEq</a><a href="#impl-PartialOrd">PartialOrd</a><a href="#impl-Ord">Ord</a><a href="#impl-Eq">Eq</a><a href="#impl-Hash">Hash</a><a href="#impl-Copy">Copy</a><a href="#impl-Display">Display</a><a href="#impl-Debug">Debug</a><a href="#impl-AsciiExt">AsciiExt</a><a href="#impl-ToAsciiChar">ToAsciiChar</a><a href="#impl-FromIterator%3CAsciiChar%3E">FromIterator&lt;AsciiChar&gt;</a><a href="#impl-Extend%3CAsciiChar%3E">Extend&lt;AsciiChar&gt;</a><a href="#impl-Extend%3C%26%27a%20AsciiChar%3E">Extend&lt;&amp;&#39;a AsciiChar&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a></div></div><p class='location'><a href='index.html'>ascii</a></p><script>window.sidebarCurrent = {name: 'AsciiChar', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div>
</nav>
<div class="theme-picker">
<button id="theme-picker" aria-label="Pick another theme!">
<img src="../brush.svg" width="18" alt="Pick another theme!">
</button>
<div id="theme-choices"></div>
</div>
<script src="../theme.js"></script>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press S to search, ? for more options…"
type="search">
</div>
</form>
</nav>
<section id='main' class="content"><h1 class='fqn'><span class='in-band'>Enum <a href='index.html'>ascii</a>::<wbr><a class="enum" href=''>AsciiChar</a></span><span class='out-of-band'><span id='render-detail'>
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
</span><a class='srclink' href='../src/ascii/ascii_char.rs.html#14-281' title='goto source code'>[src]</a></span></h1><div class="docblock type-decl"><pre class='rust enum'><div class="docblock attributes">#[repr(u8)]
</div>pub enum AsciiChar {
Null,
SOH,
SOX,
ETX,
EOT,
ENQ,
ACK,
Bell,
BackSpace,
Tab,
LineFeed,
VT,
FF,
CarriageReturn,
SI,
SO,
DLE,
DC1,
DC2,
DC3,
DC4,
NAK,
SYN,
ETB,
CAN,
EM,
SUB,
ESC,
FS,
GS,
RS,
US,
Space,
Exclamation,
Quotation,
Hash,
Dollar,
Percent,
Ampersand,
Apostrophe,
ParenOpen,
ParenClose,
Asterisk,
Plus,
Comma,
Minus,
Dot,
Slash,
_0,
_1,
_2,
_3,
_4,
_5,
_6,
_7,
_8,
_9,
Colon,
Semicolon,
LessThan,
Equal,
GreaterThan,
Question,
At,
A,
B,
C,
D,
E,
F,
G,
H,
I,
J,
K,
L,
M,
N,
O,
P,
Q,
R,
S,
T,
U,
V,
W,
X,
Y,
Z,
BracketOpen,
BackSlash,
BracketClose,
Caret,
UnderScore,
Grave,
a,
b,
c,
d,
e,
f,
g,
h,
i,
j,
k,
l,
m,
n,
o,
p,
q,
r,
s,
t,
u,
v,
w,
x,
y,
z,
CurlyBraceOpen,
VerticalBar,
CurlyBraceClose,
Tilde,
DEL,
}</pre></div><div class='docblock'><p>An ASCII character. It wraps a <code>u8</code>, with the highest bit always zero.</p>
</div><h2 id='variants' class='variants small-section-header'>
Variants<a href='#variants' class='anchor'></a></h2>
<span id="variant.Null" class="variant small-section-header"><a href="#variant.Null" class="anchor field"></a><span id='Null.v' class='invisible'><code>Null</code></span></span><div class='docblock'><p><code>'\0'</code></p>
</div><span id="variant.SOH" class="variant small-section-header"><a href="#variant.SOH" class="anchor field"></a><span id='SOH.v' class='invisible'><code>SOH</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Start_of_Heading">Start Of Heading</a></p>
</div><span id="variant.SOX" class="variant small-section-header"><a href="#variant.SOX" class="anchor field"></a><span id='SOX.v' class='invisible'><code>SOX</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Start_of_Text">Start Of teXt</a></p>
</div><span id="variant.ETX" class="variant small-section-header"><a href="#variant.ETX" class="anchor field"></a><span id='ETX.v' class='invisible'><code>ETX</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/End-of-Text_character">End of TeXt</a></p>
</div><span id="variant.EOT" class="variant small-section-header"><a href="#variant.EOT" class="anchor field"></a><span id='EOT.v' class='invisible'><code>EOT</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/End-of-Transmission_character">End Of Transmission</a></p>
</div><span id="variant.ENQ" class="variant small-section-header"><a href="#variant.ENQ" class="anchor field"></a><span id='ENQ.v' class='invisible'><code>ENQ</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Enquiry_character">Enquiry</a></p>
</div><span id="variant.ACK" class="variant small-section-header"><a href="#variant.ACK" class="anchor field"></a><span id='ACK.v' class='invisible'><code>ACK</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Acknowledge_character">Acknowledgement</a></p>
</div><span id="variant.Bell" class="variant small-section-header"><a href="#variant.Bell" class="anchor field"></a><span id='Bell.v' class='invisible'><code>Bell</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Bell_character">bell / alarm / audible</a></p>
<p><code>'\a'</code> is not recognized by Rust.</p>
</div><span id="variant.BackSpace" class="variant small-section-header"><a href="#variant.BackSpace" class="anchor field"></a><span id='BackSpace.v' class='invisible'><code>BackSpace</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Backspace">Backspace</a></p>
<p><code>'\b'</code> is not recognized by Rust.</p>
</div><span id="variant.Tab" class="variant small-section-header"><a href="#variant.Tab" class="anchor field"></a><span id='Tab.v' class='invisible'><code>Tab</code></span></span><div class='docblock'><p><code>'\t'</code></p>
</div><span id="variant.LineFeed" class="variant small-section-header"><a href="#variant.LineFeed" class="anchor field"></a><span id='LineFeed.v' class='invisible'><code>LineFeed</code></span></span><div class='docblock'><p><code>'\n'</code></p>
</div><span id="variant.VT" class="variant small-section-header"><a href="#variant.VT" class="anchor field"></a><span id='VT.v' class='invisible'><code>VT</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Vertical_Tab">Vertical tab</a></p>
<p><code>'\v'</code> is not recognized by Rust.</p>
</div><span id="variant.FF" class="variant small-section-header"><a href="#variant.FF" class="anchor field"></a><span id='FF.v' class='invisible'><code>FF</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Form_Feed">Form Feed</a></p>
<p><code>'\f'</code> is not recognized by Rust.</p>
</div><span id="variant.CarriageReturn" class="variant small-section-header"><a href="#variant.CarriageReturn" class="anchor field"></a><span id='CarriageReturn.v' class='invisible'><code>CarriageReturn</code></span></span><div class='docblock'><p><code>'\r'</code></p>
</div><span id="variant.SI" class="variant small-section-header"><a href="#variant.SI" class="anchor field"></a><span id='SI.v' class='invisible'><code>SI</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Shift_Out_and_Shift_In_characters">Shift In</a></p>
</div><span id="variant.SO" class="variant small-section-header"><a href="#variant.SO" class="anchor field"></a><span id='SO.v' class='invisible'><code>SO</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Shift_Out_and_Shift_In_characters">Shift Out</a></p>
</div><span id="variant.DLE" class="variant small-section-header"><a href="#variant.DLE" class="anchor field"></a><span id='DLE.v' class='invisible'><code>DLE</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Data_Link_Escape">Data Link Escape</a></p>
</div><span id="variant.DC1" class="variant small-section-header"><a href="#variant.DC1" class="anchor field"></a><span id='DC1.v' class='invisible'><code>DC1</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Device_Control_1">Device control 1, often XON</a></p>
</div><span id="variant.DC2" class="variant small-section-header"><a href="#variant.DC2" class="anchor field"></a><span id='DC2.v' class='invisible'><code>DC2</code></span></span><div class='docblock'><p>Device control 2</p>
</div><span id="variant.DC3" class="variant small-section-header"><a href="#variant.DC3" class="anchor field"></a><span id='DC3.v' class='invisible'><code>DC3</code></span></span><div class='docblock'><p>Device control 3, Often XOFF</p>
</div><span id="variant.DC4" class="variant small-section-header"><a href="#variant.DC4" class="anchor field"></a><span id='DC4.v' class='invisible'><code>DC4</code></span></span><div class='docblock'><p>Device control 4</p>
</div><span id="variant.NAK" class="variant small-section-header"><a href="#variant.NAK" class="anchor field"></a><span id='NAK.v' class='invisible'><code>NAK</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Negative-acknowledge_character">Negative AcKnowledgement</a></p>
</div><span id="variant.SYN" class="variant small-section-header"><a href="#variant.SYN" class="anchor field"></a><span id='SYN.v' class='invisible'><code>SYN</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Synchronous_Idle">Synchronous idle</a></p>
</div><span id="variant.ETB" class="variant small-section-header"><a href="#variant.ETB" class="anchor field"></a><span id='ETB.v' class='invisible'><code>ETB</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/End-of-Transmission-Block_character">End of Transmission Block</a></p>
</div><span id="variant.CAN" class="variant small-section-header"><a href="#variant.CAN" class="anchor field"></a><span id='CAN.v' class='invisible'><code>CAN</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Cancel_character">Cancel</a></p>
</div><span id="variant.EM" class="variant small-section-header"><a href="#variant.EM" class="anchor field"></a><span id='EM.v' class='invisible'><code>EM</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/End_of_Medium">End of Medium</a></p>
</div><span id="variant.SUB" class="variant small-section-header"><a href="#variant.SUB" class="anchor field"></a><span id='SUB.v' class='invisible'><code>SUB</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Substitute_character">Substitute</a></p>
</div><span id="variant.ESC" class="variant small-section-header"><a href="#variant.ESC" class="anchor field"></a><span id='ESC.v' class='invisible'><code>ESC</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Escape_character">Escape</a></p>
<p><code>'\e'</code> is not recognized by Rust.</p>
</div><span id="variant.FS" class="variant small-section-header"><a href="#variant.FS" class="anchor field"></a><span id='FS.v' class='invisible'><code>FS</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/File_separator">File Separator</a></p>
</div><span id="variant.GS" class="variant small-section-header"><a href="#variant.GS" class="anchor field"></a><span id='GS.v' class='invisible'><code>GS</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Group_separator">Group Separator</a></p>
</div><span id="variant.RS" class="variant small-section-header"><a href="#variant.RS" class="anchor field"></a><span id='RS.v' class='invisible'><code>RS</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Record_separator">Record Separator</a></p>
</div><span id="variant.US" class="variant small-section-header"><a href="#variant.US" class="anchor field"></a><span id='US.v' class='invisible'><code>US</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Unit_separator">Unit Separator</a></p>
</div><span id="variant.Space" class="variant small-section-header"><a href="#variant.Space" class="anchor field"></a><span id='Space.v' class='invisible'><code>Space</code></span></span><div class='docblock'><p><code>' '</code></p>
</div><span id="variant.Exclamation" class="variant small-section-header"><a href="#variant.Exclamation" class="anchor field"></a><span id='Exclamation.v' class='invisible'><code>Exclamation</code></span></span><div class='docblock'><p><code>'!'</code></p>
</div><span id="variant.Quotation" class="variant small-section-header"><a href="#variant.Quotation" class="anchor field"></a><span id='Quotation.v' class='invisible'><code>Quotation</code></span></span><div class='docblock'><p><code>'&quot;'</code></p>
</div><span id="variant.Hash" class="variant small-section-header"><a href="#variant.Hash" class="anchor field"></a><span id='Hash.v' class='invisible'><code>Hash</code></span></span><div class='docblock'><p><code>'#'</code></p>
</div><span id="variant.Dollar" class="variant small-section-header"><a href="#variant.Dollar" class="anchor field"></a><span id='Dollar.v' class='invisible'><code>Dollar</code></span></span><div class='docblock'><p><code>'$'</code></p>
</div><span id="variant.Percent" class="variant small-section-header"><a href="#variant.Percent" class="anchor field"></a><span id='Percent.v' class='invisible'><code>Percent</code></span></span><div class='docblock'><p><code>'%'</code></p>
</div><span id="variant.Ampersand" class="variant small-section-header"><a href="#variant.Ampersand" class="anchor field"></a><span id='Ampersand.v' class='invisible'><code>Ampersand</code></span></span><div class='docblock'><p><code>'&amp;'</code></p>
</div><span id="variant.Apostrophe" class="variant small-section-header"><a href="#variant.Apostrophe" class="anchor field"></a><span id='Apostrophe.v' class='invisible'><code>Apostrophe</code></span></span><div class='docblock'><p><code>'\''</code></p>
</div><span id="variant.ParenOpen" class="variant small-section-header"><a href="#variant.ParenOpen" class="anchor field"></a><span id='ParenOpen.v' class='invisible'><code>ParenOpen</code></span></span><div class='docblock'><p><code>'('</code></p>
</div><span id="variant.ParenClose" class="variant small-section-header"><a href="#variant.ParenClose" class="anchor field"></a><span id='ParenClose.v' class='invisible'><code>ParenClose</code></span></span><div class='docblock'><p><code>')'</code></p>
</div><span id="variant.Asterisk" class="variant small-section-header"><a href="#variant.Asterisk" class="anchor field"></a><span id='Asterisk.v' class='invisible'><code>Asterisk</code></span></span><div class='docblock'><p><code>'*'</code></p>
</div><span id="variant.Plus" class="variant small-section-header"><a href="#variant.Plus" class="anchor field"></a><span id='Plus.v' class='invisible'><code>Plus</code></span></span><div class='docblock'><p><code>'+'</code></p>
</div><span id="variant.Comma" class="variant small-section-header"><a href="#variant.Comma" class="anchor field"></a><span id='Comma.v' class='invisible'><code>Comma</code></span></span><div class='docblock'><p><code>','</code></p>
</div><span id="variant.Minus" class="variant small-section-header"><a href="#variant.Minus" class="anchor field"></a><span id='Minus.v' class='invisible'><code>Minus</code></span></span><div class='docblock'><p><code>'-'</code></p>
</div><span id="variant.Dot" class="variant small-section-header"><a href="#variant.Dot" class="anchor field"></a><span id='Dot.v' class='invisible'><code>Dot</code></span></span><div class='docblock'><p><code>'.'</code></p>
</div><span id="variant.Slash" class="variant small-section-header"><a href="#variant.Slash" class="anchor field"></a><span id='Slash.v' class='invisible'><code>Slash</code></span></span><div class='docblock'><p><code>'/'</code></p>
</div><span id="variant._0" class="variant small-section-header"><a href="#variant._0" class="anchor field"></a><span id='_0.v' class='invisible'><code>_0</code></span></span><div class='docblock'><p><code>'0'</code></p>
</div><span id="variant._1" class="variant small-section-header"><a href="#variant._1" class="anchor field"></a><span id='_1.v' class='invisible'><code>_1</code></span></span><div class='docblock'><p><code>'1'</code></p>
</div><span id="variant._2" class="variant small-section-header"><a href="#variant._2" class="anchor field"></a><span id='_2.v' class='invisible'><code>_2</code></span></span><div class='docblock'><p><code>'2'</code></p>
</div><span id="variant._3" class="variant small-section-header"><a href="#variant._3" class="anchor field"></a><span id='_3.v' class='invisible'><code>_3</code></span></span><div class='docblock'><p><code>'3'</code></p>
</div><span id="variant._4" class="variant small-section-header"><a href="#variant._4" class="anchor field"></a><span id='_4.v' class='invisible'><code>_4</code></span></span><div class='docblock'><p><code>'4'</code></p>
</div><span id="variant._5" class="variant small-section-header"><a href="#variant._5" class="anchor field"></a><span id='_5.v' class='invisible'><code>_5</code></span></span><div class='docblock'><p><code>'5'</code></p>
</div><span id="variant._6" class="variant small-section-header"><a href="#variant._6" class="anchor field"></a><span id='_6.v' class='invisible'><code>_6</code></span></span><div class='docblock'><p><code>'6'</code></p>
</div><span id="variant._7" class="variant small-section-header"><a href="#variant._7" class="anchor field"></a><span id='_7.v' class='invisible'><code>_7</code></span></span><div class='docblock'><p><code>'7'</code></p>
</div><span id="variant._8" class="variant small-section-header"><a href="#variant._8" class="anchor field"></a><span id='_8.v' class='invisible'><code>_8</code></span></span><div class='docblock'><p><code>'8'</code></p>
</div><span id="variant._9" class="variant small-section-header"><a href="#variant._9" class="anchor field"></a><span id='_9.v' class='invisible'><code>_9</code></span></span><div class='docblock'><p><code>'9'</code></p>
</div><span id="variant.Colon" class="variant small-section-header"><a href="#variant.Colon" class="anchor field"></a><span id='Colon.v' class='invisible'><code>Colon</code></span></span><div class='docblock'><p><code>':'</code></p>
</div><span id="variant.Semicolon" class="variant small-section-header"><a href="#variant.Semicolon" class="anchor field"></a><span id='Semicolon.v' class='invisible'><code>Semicolon</code></span></span><div class='docblock'><p><code>';'</code></p>
</div><span id="variant.LessThan" class="variant small-section-header"><a href="#variant.LessThan" class="anchor field"></a><span id='LessThan.v' class='invisible'><code>LessThan</code></span></span><div class='docblock'><p><code>'&lt;'</code></p>
</div><span id="variant.Equal" class="variant small-section-header"><a href="#variant.Equal" class="anchor field"></a><span id='Equal.v' class='invisible'><code>Equal</code></span></span><div class='docblock'><p><code>'='</code></p>
</div><span id="variant.GreaterThan" class="variant small-section-header"><a href="#variant.GreaterThan" class="anchor field"></a><span id='GreaterThan.v' class='invisible'><code>GreaterThan</code></span></span><div class='docblock'><p><code>'&gt;'</code></p>
</div><span id="variant.Question" class="variant small-section-header"><a href="#variant.Question" class="anchor field"></a><span id='Question.v' class='invisible'><code>Question</code></span></span><div class='docblock'><p><code>'?'</code></p>
</div><span id="variant.At" class="variant small-section-header"><a href="#variant.At" class="anchor field"></a><span id='At.v' class='invisible'><code>At</code></span></span><div class='docblock'><p><code>'@'</code></p>
</div><span id="variant.A" class="variant small-section-header"><a href="#variant.A" class="anchor field"></a><span id='A.v' class='invisible'><code>A</code></span></span><div class='docblock'><p><code>'A'</code></p>
</div><span id="variant.B" class="variant small-section-header"><a href="#variant.B" class="anchor field"></a><span id='B.v' class='invisible'><code>B</code></span></span><div class='docblock'><p><code>'B'</code></p>
</div><span id="variant.C" class="variant small-section-header"><a href="#variant.C" class="anchor field"></a><span id='C.v' class='invisible'><code>C</code></span></span><div class='docblock'><p><code>'C'</code></p>
</div><span id="variant.D" class="variant small-section-header"><a href="#variant.D" class="anchor field"></a><span id='D.v' class='invisible'><code>D</code></span></span><div class='docblock'><p><code>'D'</code></p>
</div><span id="variant.E" class="variant small-section-header"><a href="#variant.E" class="anchor field"></a><span id='E.v' class='invisible'><code>E</code></span></span><div class='docblock'><p><code>'E'</code></p>
</div><span id="variant.F" class="variant small-section-header"><a href="#variant.F" class="anchor field"></a><span id='F.v' class='invisible'><code>F</code></span></span><div class='docblock'><p><code>'F'</code></p>
</div><span id="variant.G" class="variant small-section-header"><a href="#variant.G" class="anchor field"></a><span id='G.v' class='invisible'><code>G</code></span></span><div class='docblock'><p><code>'G'</code></p>
</div><span id="variant.H" class="variant small-section-header"><a href="#variant.H" class="anchor field"></a><span id='H.v' class='invisible'><code>H</code></span></span><div class='docblock'><p><code>'H'</code></p>
</div><span id="variant.I" class="variant small-section-header"><a href="#variant.I" class="anchor field"></a><span id='I.v' class='invisible'><code>I</code></span></span><div class='docblock'><p><code>'I'</code></p>
</div><span id="variant.J" class="variant small-section-header"><a href="#variant.J" class="anchor field"></a><span id='J.v' class='invisible'><code>J</code></span></span><div class='docblock'><p><code>'J'</code></p>
</div><span id="variant.K" class="variant small-section-header"><a href="#variant.K" class="anchor field"></a><span id='K.v' class='invisible'><code>K</code></span></span><div class='docblock'><p><code>'K'</code></p>
</div><span id="variant.L" class="variant small-section-header"><a href="#variant.L" class="anchor field"></a><span id='L.v' class='invisible'><code>L</code></span></span><div class='docblock'><p><code>'L'</code></p>
</div><span id="variant.M" class="variant small-section-header"><a href="#variant.M" class="anchor field"></a><span id='M.v' class='invisible'><code>M</code></span></span><div class='docblock'><p><code>'M'</code></p>
</div><span id="variant.N" class="variant small-section-header"><a href="#variant.N" class="anchor field"></a><span id='N.v' class='invisible'><code>N</code></span></span><div class='docblock'><p><code>'N'</code></p>
</div><span id="variant.O" class="variant small-section-header"><a href="#variant.O" class="anchor field"></a><span id='O.v' class='invisible'><code>O</code></span></span><div class='docblock'><p><code>'O'</code></p>
</div><span id="variant.P" class="variant small-section-header"><a href="#variant.P" class="anchor field"></a><span id='P.v' class='invisible'><code>P</code></span></span><div class='docblock'><p><code>'P'</code></p>
</div><span id="variant.Q" class="variant small-section-header"><a href="#variant.Q" class="anchor field"></a><span id='Q.v' class='invisible'><code>Q</code></span></span><div class='docblock'><p><code>'Q'</code></p>
</div><span id="variant.R" class="variant small-section-header"><a href="#variant.R" class="anchor field"></a><span id='R.v' class='invisible'><code>R</code></span></span><div class='docblock'><p><code>'R'</code></p>
</div><span id="variant.S" class="variant small-section-header"><a href="#variant.S" class="anchor field"></a><span id='S.v' class='invisible'><code>S</code></span></span><div class='docblock'><p><code>'S'</code></p>
</div><span id="variant.T" class="variant small-section-header"><a href="#variant.T" class="anchor field"></a><span id='T.v' class='invisible'><code>T</code></span></span><div class='docblock'><p><code>'T'</code></p>
</div><span id="variant.U" class="variant small-section-header"><a href="#variant.U" class="anchor field"></a><span id='U.v' class='invisible'><code>U</code></span></span><div class='docblock'><p><code>'U'</code></p>
</div><span id="variant.V" class="variant small-section-header"><a href="#variant.V" class="anchor field"></a><span id='V.v' class='invisible'><code>V</code></span></span><div class='docblock'><p><code>'V'</code></p>
</div><span id="variant.W" class="variant small-section-header"><a href="#variant.W" class="anchor field"></a><span id='W.v' class='invisible'><code>W</code></span></span><div class='docblock'><p><code>'W'</code></p>
</div><span id="variant.X" class="variant small-section-header"><a href="#variant.X" class="anchor field"></a><span id='X.v' class='invisible'><code>X</code></span></span><div class='docblock'><p><code>'X'</code></p>
</div><span id="variant.Y" class="variant small-section-header"><a href="#variant.Y" class="anchor field"></a><span id='Y.v' class='invisible'><code>Y</code></span></span><div class='docblock'><p><code>'Y'</code></p>
</div><span id="variant.Z" class="variant small-section-header"><a href="#variant.Z" class="anchor field"></a><span id='Z.v' class='invisible'><code>Z</code></span></span><div class='docblock'><p><code>'Z'</code></p>
</div><span id="variant.BracketOpen" class="variant small-section-header"><a href="#variant.BracketOpen" class="anchor field"></a><span id='BracketOpen.v' class='invisible'><code>BracketOpen</code></span></span><div class='docblock'><p><code>'['</code></p>
</div><span id="variant.BackSlash" class="variant small-section-header"><a href="#variant.BackSlash" class="anchor field"></a><span id='BackSlash.v' class='invisible'><code>BackSlash</code></span></span><div class='docblock'><p><code>'\'</code></p>
</div><span id="variant.BracketClose" class="variant small-section-header"><a href="#variant.BracketClose" class="anchor field"></a><span id='BracketClose.v' class='invisible'><code>BracketClose</code></span></span><div class='docblock'><p><code>']'</code></p>
</div><span id="variant.Caret" class="variant small-section-header"><a href="#variant.Caret" class="anchor field"></a><span id='Caret.v' class='invisible'><code>Caret</code></span></span><div class='docblock'><p><code>'_'</code></p>
</div><span id="variant.UnderScore" class="variant small-section-header"><a href="#variant.UnderScore" class="anchor field"></a><span id='UnderScore.v' class='invisible'><code>UnderScore</code></span></span><div class='docblock'><p><code>'_'</code></p>
</div><span id="variant.Grave" class="variant small-section-header"><a href="#variant.Grave" class="anchor field"></a><span id='Grave.v' class='invisible'><code>Grave</code></span></span><div class='docblock'><p><code>'</code>'`</p>
</div><span id="variant.a" class="variant small-section-header"><a href="#variant.a" class="anchor field"></a><span id='a.v' class='invisible'><code>a</code></span></span><div class='docblock'><p><code>'a'</code></p>
</div><span id="variant.b" class="variant small-section-header"><a href="#variant.b" class="anchor field"></a><span id='b.v' class='invisible'><code>b</code></span></span><div class='docblock'><p><code>'b'</code></p>
</div><span id="variant.c" class="variant small-section-header"><a href="#variant.c" class="anchor field"></a><span id='c.v' class='invisible'><code>c</code></span></span><div class='docblock'><p><code>'c'</code></p>
</div><span id="variant.d" class="variant small-section-header"><a href="#variant.d" class="anchor field"></a><span id='d.v' class='invisible'><code>d</code></span></span><div class='docblock'><p><code>'d'</code></p>
</div><span id="variant.e" class="variant small-section-header"><a href="#variant.e" class="anchor field"></a><span id='e.v' class='invisible'><code>e</code></span></span><div class='docblock'><p><code>'e'</code></p>
</div><span id="variant.f" class="variant small-section-header"><a href="#variant.f" class="anchor field"></a><span id='f.v' class='invisible'><code>f</code></span></span><div class='docblock'><p><code>'f'</code></p>
</div><span id="variant.g" class="variant small-section-header"><a href="#variant.g" class="anchor field"></a><span id='g.v' class='invisible'><code>g</code></span></span><div class='docblock'><p><code>'g'</code></p>
</div><span id="variant.h" class="variant small-section-header"><a href="#variant.h" class="anchor field"></a><span id='h.v' class='invisible'><code>h</code></span></span><div class='docblock'><p><code>'h'</code></p>
</div><span id="variant.i" class="variant small-section-header"><a href="#variant.i" class="anchor field"></a><span id='i.v' class='invisible'><code>i</code></span></span><div class='docblock'><p><code>'i'</code></p>
</div><span id="variant.j" class="variant small-section-header"><a href="#variant.j" class="anchor field"></a><span id='j.v' class='invisible'><code>j</code></span></span><div class='docblock'><p><code>'j'</code></p>
</div><span id="variant.k" class="variant small-section-header"><a href="#variant.k" class="anchor field"></a><span id='k.v' class='invisible'><code>k</code></span></span><div class='docblock'><p><code>'k'</code></p>
</div><span id="variant.l" class="variant small-section-header"><a href="#variant.l" class="anchor field"></a><span id='l.v' class='invisible'><code>l</code></span></span><div class='docblock'><p><code>'l'</code></p>
</div><span id="variant.m" class="variant small-section-header"><a href="#variant.m" class="anchor field"></a><span id='m.v' class='invisible'><code>m</code></span></span><div class='docblock'><p><code>'m'</code></p>
</div><span id="variant.n" class="variant small-section-header"><a href="#variant.n" class="anchor field"></a><span id='n.v' class='invisible'><code>n</code></span></span><div class='docblock'><p><code>'n'</code></p>
</div><span id="variant.o" class="variant small-section-header"><a href="#variant.o" class="anchor field"></a><span id='o.v' class='invisible'><code>o</code></span></span><div class='docblock'><p><code>'o'</code></p>
</div><span id="variant.p" class="variant small-section-header"><a href="#variant.p" class="anchor field"></a><span id='p.v' class='invisible'><code>p</code></span></span><div class='docblock'><p><code>'p'</code></p>
</div><span id="variant.q" class="variant small-section-header"><a href="#variant.q" class="anchor field"></a><span id='q.v' class='invisible'><code>q</code></span></span><div class='docblock'><p><code>'q'</code></p>
</div><span id="variant.r" class="variant small-section-header"><a href="#variant.r" class="anchor field"></a><span id='r.v' class='invisible'><code>r</code></span></span><div class='docblock'><p><code>'r'</code></p>
</div><span id="variant.s" class="variant small-section-header"><a href="#variant.s" class="anchor field"></a><span id='s.v' class='invisible'><code>s</code></span></span><div class='docblock'><p><code>'s'</code></p>
</div><span id="variant.t" class="variant small-section-header"><a href="#variant.t" class="anchor field"></a><span id='t.v' class='invisible'><code>t</code></span></span><div class='docblock'><p><code>'t'</code></p>
</div><span id="variant.u" class="variant small-section-header"><a href="#variant.u" class="anchor field"></a><span id='u.v' class='invisible'><code>u</code></span></span><div class='docblock'><p><code>'u'</code></p>
</div><span id="variant.v" class="variant small-section-header"><a href="#variant.v" class="anchor field"></a><span id='v.v' class='invisible'><code>v</code></span></span><div class='docblock'><p><code>'v'</code></p>
</div><span id="variant.w" class="variant small-section-header"><a href="#variant.w" class="anchor field"></a><span id='w.v' class='invisible'><code>w</code></span></span><div class='docblock'><p><code>'w'</code></p>
</div><span id="variant.x" class="variant small-section-header"><a href="#variant.x" class="anchor field"></a><span id='x.v' class='invisible'><code>x</code></span></span><div class='docblock'><p><code>'x'</code></p>
</div><span id="variant.y" class="variant small-section-header"><a href="#variant.y" class="anchor field"></a><span id='y.v' class='invisible'><code>y</code></span></span><div class='docblock'><p><code>'y'</code></p>
</div><span id="variant.z" class="variant small-section-header"><a href="#variant.z" class="anchor field"></a><span id='z.v' class='invisible'><code>z</code></span></span><div class='docblock'><p><code>'z'</code></p>
</div><span id="variant.CurlyBraceOpen" class="variant small-section-header"><a href="#variant.CurlyBraceOpen" class="anchor field"></a><span id='CurlyBraceOpen.v' class='invisible'><code>CurlyBraceOpen</code></span></span><div class='docblock'><p><code>'{'</code></p>
</div><span id="variant.VerticalBar" class="variant small-section-header"><a href="#variant.VerticalBar" class="anchor field"></a><span id='VerticalBar.v' class='invisible'><code>VerticalBar</code></span></span><div class='docblock'><p><code>'|'</code></p>
</div><span id="variant.CurlyBraceClose" class="variant small-section-header"><a href="#variant.CurlyBraceClose" class="anchor field"></a><span id='CurlyBraceClose.v' class='invisible'><code>CurlyBraceClose</code></span></span><div class='docblock'><p><code>'}'</code></p>
</div><span id="variant.Tilde" class="variant small-section-header"><a href="#variant.Tilde" class="anchor field"></a><span id='Tilde.v' class='invisible'><code>Tilde</code></span></span><div class='docblock'><p><code>'~'</code></p>
</div><span id="variant.DEL" class="variant small-section-header"><a href="#variant.DEL" class="anchor field"></a><span id='DEL.v' class='invisible'><code>DEL</code></span></span><div class='docblock'><p><a href="http://en.wikipedia.org/wiki/Delete_character">Delete</a></p>
</div>
<h2 id='methods' class='small-section-header'>
Methods<a href='#methods' class='anchor'></a>
</h2>
<h3 id='impl' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#283-452' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.from' class="method"><span id='from.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.from' class='fnname'>from</a>&lt;C:&nbsp;<a class="trait" href="../ascii/trait.ToAsciiChar.html" title="trait ascii::ToAsciiChar">ToAsciiChar</a>&gt;(ch: C) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="struct" href="../ascii/struct.ToAsciiCharError.html" title="struct ascii::ToAsciiCharError">ToAsciiCharError</a>&gt;</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#296-298' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Constructs an ASCII character from a <code>u8</code>, <code>char</code> or other character type.</p>
<h1 id="failure" class="section-header"><a href="#failure">Failure</a></h1>
<p>Returns <code>Err(())</code> if the character can't be ASCII encoded.</p>
<h1 id="example" class="section-header"><a href="#example">Example</a></h1>
<pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">a</span> <span class="op">=</span> <span class="ident">AsciiChar</span>::<span class="ident">from</span>(<span class="string">&#39;g&#39;</span>).<span class="ident">unwrap</span>();
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">a</span>.<span class="ident">as_char</span>(), <span class="string">&#39;g&#39;</span>);</pre>
</div><h4 id='method.from_unchecked' class="method"><span id='from_unchecked.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub unsafe fn <a href='#method.from_unchecked' class='fnname'>from_unchecked</a>&lt;C:&nbsp;<a class="trait" href="../ascii/trait.ToAsciiChar.html" title="trait ascii::ToAsciiChar">ToAsciiChar</a>&gt;(ch: C) -&gt; Self</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#301-303' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Constructs an ASCII character from a <code>char</code> or <code>u8</code> without any checks.</p>
</div><h4 id='method.as_byte' class="method"><span id='as_byte.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.as_byte' class='fnname'>as_byte</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#307-309' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Converts an ASCII character into a <code>u8</code>.</p>
</div><h4 id='method.as_char' class="method"><span id='as_char.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.as_char' class='fnname'>as_char</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#313-315' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Converts an ASCII character into a <code>char</code>.</p>
</div><h4 id='method.is_alphabetic' class="method"><span id='is_alphabetic.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_alphabetic' class='fnname'>is_alphabetic</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#321-324' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Check if the character is a letter (a-z, A-Z)</p>
</div><h4 id='method.is_digit' class="method"><span id='is_digit.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_digit' class='fnname'>is_digit</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#328-330' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Check if the character is a number (0-9)</p>
</div><h4 id='method.is_alphanumeric' class="method"><span id='is_alphanumeric.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_alphanumeric' class='fnname'>is_alphanumeric</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#334-336' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Check if the character is a letter or number</p>
</div><h4 id='method.is_blank' class="method"><span id='is_blank.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_blank' class='fnname'>is_blank</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#340-342' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Check if the character is a space or horizontal tab</p>
</div><h4 id='method.is_whitespace' class="method"><span id='is_whitespace.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_whitespace' class='fnname'>is_whitespace</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#346-349' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Check if the character is a ' ', '\t', '\n' or '\r'</p>
</div><h4 id='method.is_control' class="method"><span id='is_control.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_control' class='fnname'>is_control</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#362-364' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Check if the character is a control character</p>
<h1 id="examples" class="section-header"><a href="#examples">Examples</a></h1>
<pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">ascii</span>::<span class="ident">ToAsciiChar</span>;
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;\0&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_control</span>(), <span class="bool-val">true</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;n&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_control</span>(), <span class="bool-val">false</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39; &#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_control</span>(), <span class="bool-val">false</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;\n&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_control</span>(), <span class="bool-val">true</span>);</pre>
</div><h4 id='method.is_graph' class="method"><span id='is_graph.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_graph' class='fnname'>is_graph</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#376-378' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Checks if the character is printable (except space)</p>
<h1 id="examples-1" class="section-header"><a href="#examples-1">Examples</a></h1>
<pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">ascii</span>::<span class="ident">ToAsciiChar</span>;
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;n&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_graph</span>(), <span class="bool-val">true</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39; &#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_graph</span>(), <span class="bool-val">false</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;\n&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_graph</span>(), <span class="bool-val">false</span>);</pre>
</div><h4 id='method.is_print' class="method"><span id='is_print.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_print' class='fnname'>is_print</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#390-392' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Checks if the character is printable (including space)</p>
<h1 id="examples-2" class="section-header"><a href="#examples-2">Examples</a></h1>
<pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">ascii</span>::<span class="ident">ToAsciiChar</span>;
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;n&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_print</span>(), <span class="bool-val">true</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39; &#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_print</span>(), <span class="bool-val">true</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;\n&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_print</span>(), <span class="bool-val">false</span>);</pre>
</div><h4 id='method.is_lowercase' class="method"><span id='is_lowercase.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_lowercase' class='fnname'>is_lowercase</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#404-406' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Checks if the character is alphabetic and lowercase</p>
<h1 id="examples-3" class="section-header"><a href="#examples-3">Examples</a></h1>
<pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">ascii</span>::<span class="ident">ToAsciiChar</span>;
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;a&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_lowercase</span>(), <span class="bool-val">true</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;A&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_lowercase</span>(), <span class="bool-val">false</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;@&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_lowercase</span>(), <span class="bool-val">false</span>);</pre>
</div><h4 id='method.is_uppercase' class="method"><span id='is_uppercase.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_uppercase' class='fnname'>is_uppercase</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#418-420' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Checks if the character is alphabetic and uppercase</p>
<h1 id="examples-4" class="section-header"><a href="#examples-4">Examples</a></h1>
<pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">ascii</span>::<span class="ident">ToAsciiChar</span>;
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;A&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_uppercase</span>(), <span class="bool-val">true</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;a&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_uppercase</span>(), <span class="bool-val">false</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;@&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_uppercase</span>(), <span class="bool-val">false</span>);</pre>
</div><h4 id='method.is_punctuation' class="method"><span id='is_punctuation.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_punctuation' class='fnname'>is_punctuation</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#433-435' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Checks if the character is punctuation</p>
<h1 id="examples-5" class="section-header"><a href="#examples-5">Examples</a></h1>
<pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">ascii</span>::<span class="ident">ToAsciiChar</span>;
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;n&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_punctuation</span>(), <span class="bool-val">false</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39; &#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_punctuation</span>(), <span class="bool-val">false</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;_&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_punctuation</span>(), <span class="bool-val">true</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;~&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_punctuation</span>(), <span class="bool-val">true</span>);</pre>
</div><h4 id='method.is_hex' class="method"><span id='is_hex.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_hex' class='fnname'>is_hex</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#449-451' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Checks if the character is a valid hex digit</p>
<h1 id="examples-6" class="section-header"><a href="#examples-6">Examples</a></h1>
<pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">ascii</span>::<span class="ident">ToAsciiChar</span>;
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;5&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_hex</span>(), <span class="bool-val">true</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;a&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_hex</span>(), <span class="bool-val">true</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;F&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_hex</span>(), <span class="bool-val">true</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39;G&#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_hex</span>(), <span class="bool-val">false</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="string">&#39; &#39;</span>.<span class="ident">to_ascii_char</span>().<span class="ident">unwrap</span>().<span class="ident">is_hex</span>(), <span class="bool-val">false</span>);</pre>
</div></div>
<h2 id='implementations' class='small-section-header'>
Trait Implementations<a href='#implementations' class='anchor'></a>
</h2>
<div id='implementations-list'>
<h3 id='impl-Clone' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-Clone' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#117-119' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-PartialEq' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-PartialEq' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, __arg_0: &amp;<a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#121' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-PartialOrd' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-PartialOrd' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.partial_cmp' class="method"><span id='partial_cmp.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&amp;self, __arg_0: &amp;<a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>&gt;</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
</div><h4 id='method.lt' class="method"><span id='lt.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt' class='fnname'>lt</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#646-651' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests less than (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></p>
</div><h4 id='method.le' class="method"><span id='le.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le' class='fnname'>le</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#668-673' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&lt;=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.le">Read more</a></p>
</div><h4 id='method.gt' class="method"><span id='gt.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt' class='fnname'>gt</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#689-694' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></p>
</div><h4 id='method.ge' class="method"><span id='ge.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge' class='fnname'>ge</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#711-716' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&gt;=</code> operator. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></p>
</div></div><h3 id='impl-Ord' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-Ord' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.cmp' class="method"><span id='cmp.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp' class='fnname'>cmp</a>(&amp;self, __arg_0: &amp;<a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>This method returns an <code>Ordering</code> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></p>
</div><h4 id='method.max' class="method"><span id='max.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max' class='fnname'>max</a>(self, other: Self) -&gt; Self</code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.21.0'>1.21.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#461-464' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.max">Read more</a></p>
</div><h4 id='method.min' class="method"><span id='min.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min' class='fnname'>min</a>(self, other: Self) -&gt; Self</code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.21.0'>1.21.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#477-480' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.min">Read more</a></p>
</div></div><h3 id='impl-Eq' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-Eq' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Hash' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-Hash' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.hash' class="method"><span id='hash.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, __arg_0: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method"><span id='hash_slice.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code></span></td><td><span class='out-of-band'><div class='ghost'></div><div class='since' title='Stable since Rust version 1.3.0'>1.3.0</div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#203-209' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Copy' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-Copy' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#12' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Display' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-Display' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#454-458' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#455-457' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-Debug' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#460-464' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.fmt-1' class="method"><span id='fmt.v-1' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#461-463' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3 id='impl-AsciiExt' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html" title="trait std::ascii::AsciiExt">AsciiExt</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-AsciiExt' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#467-496' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><span id='Owned.t' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#associatedtype.Owned' class="type">Owned</a> = <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code></span></h4>
<div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div></div><div class='docblock'><p>Container type for copied ASCII characters.</p>
</div><h4 id='method.is_ascii' class="method"><span id='is_ascii.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.is_ascii' class='fnname'>is_ascii</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#471-473' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div></div><div class='docblock'><p>Checks if the value is within the ASCII range. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.is_ascii">Read more</a></p>
</div><h4 id='method.to_ascii_uppercase' class="method"><span id='to_ascii_uppercase.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.to_ascii_uppercase' class='fnname'>to_ascii_uppercase</a>(&amp;self) -&gt; <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#475-477' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div></div><div class='docblock'><p>Makes a copy of the value in its ASCII upper case equivalent. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.to_ascii_uppercase">Read more</a></p>
</div><h4 id='method.to_ascii_lowercase' class="method"><span id='to_ascii_lowercase.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.to_ascii_lowercase' class='fnname'>to_ascii_lowercase</a>(&amp;self) -&gt; <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#479-481' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div></div><div class='docblock'><p>Makes a copy of the value in its ASCII lower case equivalent. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.to_ascii_lowercase">Read more</a></p>
</div><h4 id='method.eq_ignore_ascii_case' class="method"><span id='eq_ignore_ascii_case.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.eq_ignore_ascii_case' class='fnname'>eq_ignore_ascii_case</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#483-485' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div></div><div class='docblock'><p>Checks that two values are an ASCII case-insensitive match. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.eq_ignore_ascii_case">Read more</a></p>
</div><h4 id='method.make_ascii_uppercase' class="method"><span id='make_ascii_uppercase.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_uppercase' class='fnname'>make_ascii_uppercase</a>(&amp;mut self)</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#488-490' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div></div><div class='docblock'><p>Converts this type to its ASCII upper case equivalent in-place. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_uppercase">Read more</a></p>
</div><h4 id='method.make_ascii_lowercase' class="method"><span id='make_ascii_lowercase.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_lowercase' class='fnname'>make_ascii_lowercase</a>(&amp;mut self)</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#493-495' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div></div><div class='docblock'><p>Converts this type to its ASCII lower case equivalent in-place. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_lowercase">Read more</a></p>
</div><h4 id='method.is_ascii_alphabetic' class="method"><span id='is_ascii_alphabetic.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_alphabetic' class='fnname'>is_ascii_alphabetic</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/ascii.rs.html#169' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>ascii_ctype</code>)</div></div><div class='docblock'><p>Checks if the value is an ASCII alphabetic character: U+0041 'A' ... U+005A 'Z' or U+0061 'a' ... U+007A 'z'. For strings, true if all characters in the string are ASCII alphabetic. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_alphabetic">Read more</a></p>
</div><h4 id='method.is_ascii_uppercase' class="method"><span id='is_ascii_uppercase.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_uppercase' class='fnname'>is_ascii_uppercase</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/ascii.rs.html#182' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>ascii_ctype</code>)</div></div><div class='docblock'><p>Checks if the value is an ASCII uppercase character: U+0041 'A' ... U+005A 'Z'. For strings, true if all characters in the string are ASCII uppercase. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_uppercase">Read more</a></p>
</div><h4 id='method.is_ascii_lowercase' class="method"><span id='is_ascii_lowercase.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_lowercase' class='fnname'>is_ascii_lowercase</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/ascii.rs.html#195' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>ascii_ctype</code>)</div></div><div class='docblock'><p>Checks if the value is an ASCII lowercase character: U+0061 'a' ... U+007A 'z'. For strings, true if all characters in the string are ASCII lowercase. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_lowercase">Read more</a></p>
</div><h4 id='method.is_ascii_alphanumeric' class="method"><span id='is_ascii_alphanumeric.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_alphanumeric' class='fnname'>is_ascii_alphanumeric</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/ascii.rs.html#209' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>ascii_ctype</code>)</div></div><div class='docblock'><p>Checks if the value is an ASCII alphanumeric character: U+0041 'A' ... U+005A 'Z', U+0061 'a' ... U+007A 'z', or U+0030 '0' ... U+0039 '9'. For strings, true if all characters in the string are ASCII alphanumeric. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_alphanumeric">Read more</a></p>
</div><h4 id='method.is_ascii_digit' class="method"><span id='is_ascii_digit.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_digit' class='fnname'>is_ascii_digit</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/ascii.rs.html#222' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>ascii_ctype</code>)</div></div><div class='docblock'><p>Checks if the value is an ASCII decimal digit: U+0030 '0' ... U+0039 '9'. For strings, true if all characters in the string are ASCII digits. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_digit">Read more</a></p>
</div><h4 id='method.is_ascii_hexdigit' class="method"><span id='is_ascii_hexdigit.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_hexdigit' class='fnname'>is_ascii_hexdigit</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/ascii.rs.html#236' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>ascii_ctype</code>)</div></div><div class='docblock'><p>Checks if the value is an ASCII hexadecimal digit: U+0030 '0' ... U+0039 '9', U+0041 'A' ... U+0046 'F', or U+0061 'a' ... U+0066 'f'. For strings, true if all characters in the string are ASCII hex digits. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_hexdigit">Read more</a></p>
</div><h4 id='method.is_ascii_punctuation' class="method"><span id='is_ascii_punctuation.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_punctuation' class='fnname'>is_ascii_punctuation</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/ascii.rs.html#254' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>ascii_ctype</code>)</div></div><div class='docblock'><p>Checks if the value is an ASCII punctuation character: <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_punctuation">Read more</a></p>
</div><h4 id='method.is_ascii_graphic' class="method"><span id='is_ascii_graphic.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_graphic' class='fnname'>is_ascii_graphic</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/ascii.rs.html#267' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>ascii_ctype</code>)</div></div><div class='docblock'><p>Checks if the value is an ASCII graphic character: U+0021 '!' ... U+007E '~'. For strings, true if all characters in the string are ASCII graphic characters. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_graphic">Read more</a></p>
</div><h4 id='method.is_ascii_whitespace' class="method"><span id='is_ascii_whitespace.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_whitespace' class='fnname'>is_ascii_whitespace</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/ascii.rs.html#297' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>ascii_ctype</code>)</div></div><div class='docblock'><p>Checks if the value is an ASCII whitespace character: U+0020 SPACE, U+0009 HORIZONTAL TAB, U+000A LINE FEED, U+000C FORM FEED, or U+000D CARRIAGE RETURN. For strings, true if all characters in the string are ASCII whitespace. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_whitespace">Read more</a></p>
</div><h4 id='method.is_ascii_control' class="method"><span id='is_ascii_control.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_control' class='fnname'>is_ascii_control</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/ascii.rs.html#310' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='stability'><div class='stab deprecated'>Deprecated since 1.26.0<p>: use inherent methods instead</p>
</div><div class='stab unstable'><span class=microscope>🔬</span> This is a nightly-only experimental API. (<code>ascii_ctype</code>)</div></div><div class='docblock'><p>Checks if the value is an ASCII control character: U+0000 NUL ... U+001F UNIT SEPARATOR, or U+007F DELETE. Note that most ASCII whitespace characters are control characters, but SPACE is not. <a href="https://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#method.is_ascii_control">Read more</a></p>
</div></div><h3 id='impl-ToAsciiChar' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="../ascii/trait.ToAsciiChar.html" title="trait ascii::ToAsciiChar">ToAsciiChar</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-ToAsciiChar' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#532-539' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.to_ascii_char' class="method"><span id='to_ascii_char.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='../ascii/trait.ToAsciiChar.html#tymethod.to_ascii_char' class='fnname'>to_ascii_char</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a>, <a class="struct" href="../ascii/struct.ToAsciiCharError.html" title="struct ascii::ToAsciiCharError">ToAsciiCharError</a>&gt;</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#533-535' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Convert to <code>AsciiChar</code>.</p>
</div><h4 id='method.to_ascii_char_unchecked' class="method"><span id='to_ascii_char_unchecked.v' class='invisible'><table class='table-display'><tbody><tr><td><code>unsafe fn <a href='../ascii/trait.ToAsciiChar.html#tymethod.to_ascii_char_unchecked' class='fnname'>to_ascii_char_unchecked</a>(self) -&gt; <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_char.rs.html#536-538' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Convert to <code>AsciiChar</code> without checking that it is an ASCII character.</p>
</div></div><h3 id='impl-FromIterator%3CAsciiChar%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.FromIterator.html" title="trait core::iter::traits::FromIterator">FromIterator</a>&lt;<a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a>&gt; for <a class="struct" href="../ascii/struct.AsciiString.html" title="struct ascii::AsciiString">AsciiString</a></code><a href='#impl-FromIterator%3CAsciiChar%3E' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_string.rs.html#468-474' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.from_iter' class="method"><span id='from_iter.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/iter/traits/trait.FromIterator.html#tymethod.from_iter' class='fnname'>from_iter</a>&lt;I:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>&lt;Item = <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a>&gt;&gt;(iter: I) -&gt; <a class="struct" href="../ascii/struct.AsciiString.html" title="struct ascii::AsciiString">AsciiString</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_string.rs.html#469-473' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Creates a value from an iterator. <a href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.FromIterator.html#tymethod.from_iter">Read more</a></p>
</div></div><h3 id='impl-Extend%3CAsciiChar%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a>&lt;<a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a>&gt; for <a class="struct" href="../ascii/struct.AsciiString.html" title="struct ascii::AsciiString">AsciiString</a></code><a href='#impl-Extend%3CAsciiChar%3E' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_string.rs.html#484-493' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.extend' class="method"><span id='extend.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html#tymethod.extend' class='fnname'>extend</a>&lt;I:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>&lt;Item = <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a>&gt;&gt;(&amp;mut self, iterable: I)</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_string.rs.html#485-492' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Extends a collection with the contents of an iterator. <a href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html#tymethod.extend">Read more</a></p>
</div></div><h3 id='impl-Extend%3C%26%27a%20AsciiChar%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html" title="trait core::iter::traits::Extend">Extend</a>&lt;&amp;'a <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a>&gt; for <a class="struct" href="../ascii/struct.AsciiString.html" title="struct ascii::AsciiString">AsciiString</a></code><a href='#impl-Extend%3C%26%27a%20AsciiChar%3E' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_string.rs.html#495-499' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.extend-1' class="method"><span id='extend.v-1' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html#tymethod.extend' class='fnname'>extend</a>&lt;I:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.IntoIterator.html" title="trait core::iter::traits::IntoIterator">IntoIterator</a>&lt;Item = &amp;'a <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a>&gt;&gt;(&amp;mut self, iter: I)</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/ascii/ascii_string.rs.html#496-498' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Extends a collection with the contents of an iterator. <a href="https://doc.rust-lang.org/nightly/core/iter/traits/trait.Extend.html#tymethod.extend">Read more</a></p>
</div></div></div>
<h2 id='synthetic-implementations' class='small-section-header'>
Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a>
</h2>
<div id='synthetic-implementations-list'>
<h3 id='impl-Send' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-Send' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../ascii/enum.AsciiChar.html" title="enum ascii::AsciiChar">AsciiChar</a></code><a href='#impl-Sync' class='anchor'></a></span></td><td><span class='out-of-band'></span></td></tr></tbody></table></h3><div class='impl-items'></div></div></section>
<section id='search' class="content hidden"></section>
<section class="footer"></section>
<aside id="help" class="hidden">
<div>
<h1 class="hidden">Help</h1>
<div class="shortcuts">
<h2>Keyboard Shortcuts</h2>
<dl>
<dt><kbd>?</kbd></dt>
<dd>Show this help dialog</dd>
<dt><kbd>S</kbd></dt>
<dd>Focus the search field</dd>
<dt><kbd></kbd></dt>
<dd>Move up in search results</dd>
<dt><kbd></kbd></dt>
<dd>Move down in search results</dd>
<dt><kbd></kbd></dt>
<dd>Switch tab</dd>
<dt><kbd>&#9166;</kbd></dt>
<dd>Go to active search result</dd>
<dt><kbd>+</kbd></dt>
<dd>Expand all sections</dd>
<dt><kbd>-</kbd></dt>
<dd>Collapse all sections</dd>
</dl>
</div>
<div class="infos">
<h2>Search Tricks</h2>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code>, <code>enum</code>,
<code>trait</code>, <code>type</code>, <code>macro</code>,
and <code>const</code>.
</p>
<p>
Search functions by type signature (e.g.
<code>vec -> usize</code> or <code>* -> vec</code>)
</p>
</div>
</div>
</aside>
<script>
window.rootPath = "../";
window.currentCrate = "ascii";
</script>
<script src="../main.js"></script>
<script defer src="../search-index.js"></script>
</body>
</html>