You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Trac3r-rust/doc/winit/enum.VirtualKeyCode.html

220 lines
68 KiB

5 years ago
<!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 `VirtualKeyCode` enum in crate `winit`."><meta name="keywords" content="rust, rustlang, rust-lang, VirtualKeyCode"><title>winit::VirtualKeyCode - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc 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><a href='../winit/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Enum VirtualKeyCode</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Key1">Key1</a><a href="#variant.Key2">Key2</a><a href="#variant.Key3">Key3</a><a href="#variant.Key4">Key4</a><a href="#variant.Key5">Key5</a><a href="#variant.Key6">Key6</a><a href="#variant.Key7">Key7</a><a href="#variant.Key8">Key8</a><a href="#variant.Key9">Key9</a><a href="#variant.Key0">Key0</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.Escape">Escape</a><a href="#variant.F1">F1</a><a href="#variant.F2">F2</a><a href="#variant.F3">F3</a><a href="#variant.F4">F4</a><a href="#variant.F5">F5</a><a href="#variant.F6">F6</a><a href="#variant.F7">F7</a><a href="#variant.F8">F8</a><a href="#variant.F9">F9</a><a href="#variant.F10">F10</a><a href="#variant.F11">F11</a><a href="#variant.F12">F12</a><a href="#variant.F13">F13</a><a href="#variant.F14">F14</a><a href="#variant.F15">F15</a><a href="#variant.F16">F16</a><a href="#variant.F17">F17</a><a href="#variant.F18">F18</a><a href="#variant.F19">F19</a><a href="#variant.F20">F20</a><a href="#variant.F21">F21</a><a href="#variant.F22">F22</a><a href="#variant.F23">F23</a><a href="#variant.F24">F24</a><a href="#variant.Snapshot">Snapshot</a><a href="#variant.Scroll">Scroll</a><a href="#variant.Pause">Pause</a><a href="#variant.Insert">Insert</a><a href="#variant.Home">Home</a><a href="#variant.Delete">Delete</a><a href="#variant.End">End</a><a href="#variant.PageDown">PageDown</a><a href="#variant.PageUp">PageUp</a><a href="#variant.Left">Left</a><a href="#variant.Up">Up</a><a href="#variant.Right">Right</a><a href="#variant.Down">Down</a><a href="#variant.Back">Back</a><a href="#variant.Return">Return</a><a href="#variant.Space">Space</a><a href="#variant.Compose">Compose</a><a href="#variant.Caret">Caret</a><a href="#variant.Numlock">Numlock</a><a href="#variant.Numpad0">Numpad0</a><a href="#variant.Numpad1">Numpad1</a><a href="#variant.Numpad2">Numpad2</a><a href="#variant.Numpad3">Numpad3</a><a href="#variant.Numpad4">Numpad4</a><a href="#variant.Numpad5">Numpad5</a><a href="#variant.Numpad6">Numpad6</a><a href="#variant.N
</span>pub enum VirtualKeyCode {
Key1,
Key2,
Key3,
Key4,
Key5,
Key6,
Key7,
Key8,
Key9,
Key0,
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,
Escape,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
F13,
F14,
F15,
F16,
F17,
F18,
F19,
F20,
F21,
F22,
F23,
F24,
Snapshot,
Scroll,
Pause,
Insert,
Home,
Delete,
End,
PageDown,
PageUp,
Left,
Up,
Right,
Down,
Back,
Return,
Space,
Compose,
Caret,
Numlock,
Numpad0,
Numpad1,
Numpad2,
Numpad3,
Numpad4,
Numpad5,
Numpad6,
Numpad7,
Numpad8,
Numpad9,
AbntC1,
AbntC2,
Add,
Apostrophe,
Apps,
At,
Ax,
Backslash,
Calculator,
Capital,
Colon,
Comma,
Convert,
Decimal,
Divide,
Equals,
Grave,
Kana,
Kanji,
LAlt,
LBracket,
LControl,
LShift,
LWin,
Mail,
MediaSelect,
MediaStop,
Minus,
Multiply,
Mute,
MyComputer,
NavigateForward,
NavigateBackward,
NextTrack,
NoConvert,
NumpadComma,
NumpadEnter,
NumpadEquals,
OEM102,
Period,
PlayPause,
Power,
PrevTrack,
RAlt,
RBracket,
RControl,
RShift,
RWin,
Semicolon,
Slash,
Sleep,
Stop,
Subtract,
Sysrq,
Tab,
Underline,
Unlabeled,
VolumeDown,
VolumeUp,
Wake,
WebBack,
WebFavorites,
WebForward,
WebHome,
WebRefresh,
WebSearch,
WebStop,
Yen,
Copy,
Paste,
Cut,
}</pre></div><div class='docblock'><p>Symbolic name for a keyboard key.</p>
</div><h2 id='variants' class='variants small-section-header'>
Variants<a href='#variants' class='anchor'></a></h2>
<div id="variant.Key1" class="variant small-section-header"><a href="#variant.Key1" class="anchor field"></a><code id='Key1.v'>Key1</code></div><div class='docblock'><p>The '1' key over the letters.</p>
</div><div id="variant.Key2" class="variant small-section-header"><a href="#variant.Key2" class="anchor field"></a><code id='Key2.v'>Key2</code></div><div class='docblock'><p>The '2' key over the letters.</p>
</div><div id="variant.Key3" class="variant small-section-header"><a href="#variant.Key3" class="anchor field"></a><code id='Key3.v'>Key3</code></div><div class='docblock'><p>The '3' key over the letters.</p>
</div><div id="variant.Key4" class="variant small-section-header"><a href="#variant.Key4" class="anchor field"></a><code id='Key4.v'>Key4</code></div><div class='docblock'><p>The '4' key over the letters.</p>
</div><div id="variant.Key5" class="variant small-section-header"><a href="#variant.Key5" class="anchor field"></a><code id='Key5.v'>Key5</code></div><div class='docblock'><p>The '5' key over the letters.</p>
</div><div id="variant.Key6" class="variant small-section-header"><a href="#variant.Key6" class="anchor field"></a><code id='Key6.v'>Key6</code></div><div class='docblock'><p>The '6' key over the letters.</p>
</div><div id="variant.Key7" class="variant small-section-header"><a href="#variant.Key7" class="anchor field"></a><code id='Key7.v'>Key7</code></div><div class='docblock'><p>The '7' key over the letters.</p>
</div><div id="variant.Key8" class="variant small-section-header"><a href="#variant.Key8" class="anchor field"></a><code id='Key8.v'>Key8</code></div><div class='docblock'><p>The '8' key over the letters.</p>
</div><div id="variant.Key9" class="variant small-section-header"><a href="#variant.Key9" class="anchor field"></a><code id='Key9.v'>Key9</code></div><div class='docblock'><p>The '9' key over the letters.</p>
</div><div id="variant.Key0" class="variant small-section-header"><a href="#variant.Key0" class="anchor field"></a><code id='Key0.v'>Key0</code></div><div class='docblock'><p>The '0' key over the 'O' and 'P' keys.</p>
</div><div id="variant.A" class="variant small-section-header"><a href="#variant.A" class="anchor field"></a><code id='A.v'>A</code></div><div id="variant.B" class="variant small-section-header"><a href="#variant.B" class="anchor field"></a><code id='B.v'>B</code></div><div id="variant.C" class="variant small-section-header"><a href="#variant.C" class="anchor field"></a><code id='C.v'>C</code></div><div id="variant.D" class="variant small-section-header"><a href="#variant.D" class="anchor field"></a><code id='D.v'>D</code></div><div id="variant.E" class="variant small-section-header"><a href="#variant.E" class="anchor field"></a><code id='E.v'>E</code></div><div id="variant.F" class="variant small-section-header"><a href="#variant.F" class="anchor field"></a><code id='F.v'>F</code></div><div id="variant.G" class="variant small-section-header"><a href="#variant.G" class="anchor field"></a><code id='G.v'>G</code></div><div id="variant.H" class="variant small-section-header"><a href="#variant.H" class="anchor field"></a><code id='H.v'>H</code></div><div id="variant.I" class="variant small-section-header"><a href="#variant.I" class="anchor field"></a><code id='I.v'>I</code></div><div id="variant.J" class="variant small-section-header"><a href="#variant.J" class="anchor field"></a><code id='J.v'>J</code></div><div id="variant.K" class="variant small-section-header"><a href="#variant.K" class="anchor field"></a><code id='K.v'>K</code></div><div id="variant.L" class="variant small-section-header"><a href="#variant.L" class="anchor field"></a><code id='L.v'>L</code></div><div id="variant.M" class="variant small-section-header"><a href="#variant.M" class="anchor field"></a><code id='M.v'>M</code></div><div id="variant.N" class="variant small-section-header"><a href="#variant.N" class="anchor field"></a><code id='N.v'>N</code></div><div id="variant.O" class="variant small-section-header"><a href="#variant.O" class="anchor field"></a><code id='O.v'>O</code></div><div id="variant.P" class="variant small-section-header"><a href="#variant.P" class="anchor field"></a><code id='P.v'>P</code></div><div id="variant.Q" class="variant small-section-header"><a href="#variant.Q" class="anchor field"></a><code id='Q.v'>Q</code></div><div id="variant.R" class="variant small-section-header"><a href="#variant.R" class="anchor field"></a><code id='R.v'>R</code></div><div id="variant.S" class="variant small-section-header"><a href="#variant.S" class="anchor field"></a><code id='S.v'>S</code></div><div id="variant.T" class="variant small-section-header"><a href="#variant.T" class="anchor field"></a><code id='T.v'>T</code></div><div id="variant.U" class="variant small-section-header"><a href="#variant.U" class="anchor field"></a><code id='U.v'>U</code></div><div id="variant.V" class="variant small-section-header"><a href="#variant.V" class="anchor field"></a><code id='V.v'>V</code></div><div id="variant.W" class="variant small-section-header"><a href="#variant.W" class="anchor field"></a><code id='W.v'>W</code></div><div id="variant.X" class="variant small-section-header"><a href="#variant.X" class="anchor field"></a><code id='X.v'>X</code></div><div id="variant.Y" class="variant small-section-header"><a href="#variant.Y" class="anchor field"></a><code id='Y.v'>Y</code></div><div id="variant.Z" class="variant small-section-header"><a href="#variant.Z" class="anchor field"></a><code id='Z.v'>Z</code></div><div id="variant.Escape" class="variant small-section-header"><a href="#variant.Escape" class="anchor field"></a><code id='Escape.v'>Escape</code></div><div class='docblock'><p>The Escape key, next to F1.</p>
</div><div id="variant.F1" class="variant small-section-header"><a href="#variant.F1" class="anchor field"></a><code id='F1.v'>F1</code></div><div id="variant.F2" class="variant small-section-header"><a href="#variant.F2" class="anchor field"></a><code id='F2.v'>F2</code></div><div id="variant.F3" class="variant small-section-header"><a href="#variant.F3" class="anchor field"></a><code id='F3.v'>F3</code></div><div id="variant.F4" class="variant small-section-header"><a href="#variant.F4" class="anchor field"></a><code id='F4.v'>F4</code></div><div id="variant.F5" class="variant small-section-header"><a href="#variant.F5" class="anchor field"></a><code id='F5.v'>F5</code></div><div id="variant.F6" class="variant small-section-header"><a href="#variant.F6" class="anchor field"></a><code id='F6.v'>F6</code></div><div id="variant.F7" class="variant small-section-header"><a href="#variant.F7" class="anchor field"></a><code id='F7.v'>F7</code></div><div id="variant.F8" class="variant small-section-header"><a href="#variant.F8" class="anchor field"></a><code id='F8.v'>F8</code></div><div id="variant.F9" class="variant small-section-header"><a href="#variant.F9" class="anchor field"></a><code id='F9.v'>F9</code></div><div id="variant.F10" class="variant small-section-header"><a href="#variant.F10" class="anchor field"></a><code id='F10.v'>F10</code></div><div id="variant.F11" class="variant small-section-header"><a href="#variant.F11" class="anchor field"></a><code id='F11.v'>F11</code></div><div id="variant.F12" class="variant small-section-header"><a href="#variant.F12" class="anchor field"></a><code id='F12.v'>F12</code></div><div id="variant.F13" class="variant small-section-header"><a href="#variant.F13" class="anchor field"></a><code id='F13.v'>F13</code></div><div id="variant.F14" class="variant small-section-header"><a href="#variant.F14" class="anchor field"></a><code id='F14.v'>F14</code></div><div id="variant.F15" class="variant small-section-header"><a href="#variant.F15" class="anchor field"></a><code id='F15.v'>F15</code></div><div id="variant.F16" class="variant small-section-header"><a href="#variant.F16" class="anchor field"></a><code id='F16.v'>F16</code></div><div id="variant.F17" class="variant small-section-header"><a href="#variant.F17" class="anchor field"></a><code id='F17.v'>F17</code></div><div id="variant.F18" class="variant small-section-header"><a href="#variant.F18" class="anchor field"></a><code id='F18.v'>F18</code></div><div id="variant.F19" class="variant small-section-header"><a href="#variant.F19" class="anchor field"></a><code id='F19.v'>F19</code></div><div id="variant.F20" class="variant small-section-header"><a href="#variant.F20" class="anchor field"></a><code id='F20.v'>F20</code></div><div id="variant.F21" class="variant small-section-header"><a href="#variant.F21" class="anchor field"></a><code id='F21.v'>F21</code></div><div id="variant.F22" class="variant small-section-header"><a href="#variant.F22" class="anchor field"></a><code id='F22.v'>F22</code></div><div id="variant.F23" class="variant small-section-header"><a href="#variant.F23" class="anchor field"></a><code id='F23.v'>F23</code></div><div id="variant.F24" class="variant small-section-header"><a href="#variant.F24" class="anchor field"></a><code id='F24.v'>F24</code></div><div id="variant.Snapshot" class="variant small-section-header"><a href="#variant.Snapshot" class="anchor field"></a><code id='Snapshot.v'>Snapshot</code></div><div class='docblock'><p>Print Screen/SysRq.</p>
</div><div id="variant.Scroll" class="variant small-section-header"><a href="#variant.Scroll" class="anchor field"></a><code id='Scroll.v'>Scroll</code></div><div class='docblock'><p>Scroll Lock.</p>
</div><div id="variant.Pause" class="variant small-section-header"><a href="#variant.Pause" class="anchor field"></a><code id='Pause.v'>Pause</code></div><div class='docblock'><p>Pause/Break key, next to Scroll lock.</p>
</div><div id="variant.Insert" class="variant small-section-header"><a href="#variant.Insert" class="anchor field"></a><code id='Insert.v'>Insert</code></div><div class='docblock'><p><code>Insert</code>, next to Backspace.</p>
</div><div id="variant.Home" class="variant small-section-header"><a href="#variant.Home" class="anchor field"></a><code id='Home.v'>Home</code></div><div id="variant.Delete" class="variant small-section-header"><a href="#variant.Delete" class="anchor field"></a><code id='Delete.v'>Delete</code></div><div id="variant.End" class="variant small-section-header"><a href="#variant.End" class="anchor field"></a><code id='End.v'>End</code></div><div id="variant.PageDown" class="variant small-section-header"><a href="#variant.PageDown" class="anchor field"></a><code id='PageDown.v'>PageDown</code></div><div id="variant.PageUp" class="variant small-section-header"><a href="#variant.PageUp" class="anchor field"></a><code id='PageUp.v'>PageUp</code></div><div id="variant.Left" class="variant small-section-header"><a href="#variant.Left" class="anchor field"></a><code id='Left.v'>Left</code></div><div id="variant.Up" class="variant small-section-header"><a href="#variant.Up" class="anchor field"></a><code id='Up.v'>Up</code></div><div id="variant.Right" class="variant small-section-header"><a href="#variant.Right" class="anchor field"></a><code id='Right.v'>Right</code></div><div id="variant.Down" class="variant small-section-header"><a href="#variant.Down" class="anchor field"></a><code id='Down.v'>Down</code></div><div id="variant.Back" class="variant small-section-header"><a href="#variant.Back" class="anchor field"></a><code id='Back.v'>Back</code></div><div class='docblock'><p>The Backspace key, right over Enter.</p>
</div><div id="variant.Return" class="variant small-section-header"><a href="#variant.Return" class="anchor field"></a><code id='Return.v'>Return</code></div><div class='docblock'><p>The Enter key.</p>
</div><div id="variant.Space" class="variant small-section-header"><a href="#variant.Space" class="anchor field"></a><code id='Space.v'>Space</code></div><div class='docblock'><p>The space bar.</p>
</div><div id="variant.Compose" class="variant small-section-header"><a href="#variant.Compose" class="anchor field"></a><code id='Compose.v'>Compose</code></div><div class='docblock'><p>The &quot;Compose&quot; key on Linux.</p>
</div><div id="variant.Caret" class="variant small-section-header"><a href="#variant.Caret" class="anchor field"></a><code id='Caret.v'>Caret</code></div><div id="variant.Numlock" class="variant small-section-header"><a href="#variant.Numlock" class="anchor field"></a><code id='Numlock.v'>Numlock</code></div><div id="variant.Numpad0" class="variant small-section-header"><a href="#variant.Numpad0" class="anchor field"></a><code id='Numpad0.v'>Numpad0</code></div><div id="variant.Numpad1" class="variant small-section-header"><a href="#variant.Numpad1" class="anchor field"></a><code id='Numpad1.v'>Numpad1</code></div><div id="variant.Numpad2" class="variant small-section-header"><a href="#variant.Numpad2" class="anchor field"></a><code id='Numpad2.v'>Numpad2</code></div><div id="variant.Numpad3" class="variant small-section-header"><a href="#variant.Numpad3" class="anchor field"></a><code id='Numpad3.v'>Numpad3</code></div><div id="variant.Numpad4" class="variant small-section-header"><a href="#variant.Numpad4" class="anchor field"></a><code id='Numpad4.v'>Numpad4</code></div><div id="variant.Numpad5" class="variant small-section-header"><a href="#variant.Numpad5" class="anchor field"></a><code id='Numpad5.v'>Numpad5</code></div><div id="variant.Numpad6" class="variant small-section-header"><a href="#variant.Numpad6" class="anchor field"></a><code id='Numpad6.v'>Numpad6</code></div><div id="variant.Numpad7" class="variant small-section-header"><a href="#variant.Numpad7" class="anchor field"></a><code id='Numpad7.v'>Numpad7</code></div><div id="variant.Numpad8" class="variant small-section-header"><a href="#variant.Numpad8" class="anchor field"></a><code id='Numpad8.v'>Numpad8</code></div><div id="variant.Numpad9" class="variant small-section-header"><a href="#variant.Numpad9" class="anchor field"></a><code id='Numpad9.v'>Numpad9</code></div><div id="variant.AbntC1" class="variant small-section-header"><a href="#variant.AbntC1" class="anchor field"></a><code id='AbntC1.v'>AbntC1</code></div><div id="variant.AbntC2" class="variant small-section-header"><a href="#variant.AbntC2" class="anchor field"></a><code id='AbntC2.v'>AbntC2</code></div><div id="variant.Add" class="variant small-section-header"><a href="#variant.Add" class="anchor field"></a><code id='Add.v'>Add</code></div><div id="variant.Apostrophe" class="variant small-section-header"><a href="#variant.Apostrophe" class="anchor field"></a><code id='Apostrophe.v'>Apostrophe</code></div><div id="variant.Apps" class="variant small-section-header"><a href="#variant.Apps" class="anchor field"></a><code id='Apps.v'>Apps</code></div><div id="variant.At" class="variant small-section-header"><a href="#variant.At" class="anchor field"></a><code id='At.v'>At</code></div><div id="variant.Ax" class="variant small-section-header"><a href="#variant.Ax" class="anchor field"></a><code id='Ax.v'>Ax</code></div><div id="variant.Backslash" class="variant small-section-header"><a href="#variant.Backslash" class="anchor field"></a><code id='Backslash.v'>Backslash</code></div><div id="variant.Calculator" class="variant small-section-header"><a href="#variant.Calculator" class="anchor field"></a><code id='Calculator.v'>Calculator</code></div><div id="variant.Capital" class="variant small-section-header"><a href="#variant.Capital" class="anchor field"></a><code id='Capital.v'>Capital</code></div><div id="variant.Colon" class="variant small-section-header"><a href="#variant.Colon" class="anchor field"></a><code id='Colon.v'>Colon</code></div><div id="variant.Comma" class="variant small-section-header"><a href="#variant.Comma" class="anchor field"></a><code id='Comma.v'>Comma</code></div><div id="variant.Convert" class="variant small-section-header"><a href="#variant.Convert" class="anchor field"></a><code id='Convert.v'>Convert</code></div><div id="variant.Decimal" class="variant small-section-header"><a href="#variant.Decimal" class="anchor field"></a><code id='Decimal.v'>Decimal</code></div><div id="variant.Divide" class="variant small-section-header"><a href="#variant.Divide" class="anchor
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>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 class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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-PartialOrd%3CVirtualKeyCode%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a>&lt;<a class="enum" href="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a>&gt; for <a class="enum" href="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-PartialOrd%3CVirtualKeyCode%3E' class='anchor'></a><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.partial_cmp' class="method hidden"><code id='partial_cmp.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&amp;self, other: &amp;<a class="enum" href="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</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><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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 hidden"><code id='lt.v'><span class="docblock attributes">#[must_use]
</span>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 class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#801-806' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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 hidden"><code id='le.v'><span class="docblock attributes">#[must_use]
</span>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 class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#823-828' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&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 hidden"><code id='gt.v'><span class="docblock attributes">#[must_use]
</span>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 class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#844-849' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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 hidden"><code id='ge.v'><span class="docblock attributes">#[must_use]
</span>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 class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#866-871' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by the <code>&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-PartialEq%3CVirtualKeyCode%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="enum" href="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a>&gt; for <a class="enum" href="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-PartialEq%3CVirtualKeyCode%3E' class='anchor'></a><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="enum" href="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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 hidden"><code id='ne.v'><span class="docblock attributes">#[must_use]
</span>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 class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#208' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-Ord' class='impl'><code class='in-band'>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="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-Ord' class='anchor'></a><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.cmp' class="method hidden"><code id='cmp.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp' class='fnname'>cmp</a>(&amp;self, other: &amp;<a class="enum" href="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</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><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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 hidden"><code id='max.v'>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 class='since' title='Stable since Rust version 1.21.0'>1.21.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#571-574' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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 hidden"><code id='min.v'>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 class='since' title='Stable since Rust version 1.21.0'>1.21.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#588-591' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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><h4 id='method.clamp' class="method hidden"><code id='clamp.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp' class='fnname'>clamp</a>(self, min: Self, max: Self) -&gt; Self</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#612-622' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>clamp</code>)</div></div><div class='docblock hidden'><p>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#method.clamp">Read more</a></p>
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>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="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Hash' class='impl'><code class='in-band'>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="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>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, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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 hidden"><code id='hash_slice.v'>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 class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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-Debug' class='impl'><code class='in-band'>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="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>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><a class='srclink' href='../src/winit/events.rs.html#265' title='goto source code'>[src]</a></h4><div class='docblock hidden'><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></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'><code class='in-band'>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="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>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="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../winit/enum.VirtualKeyCode.html" title="enum winit::VirtualKeyCode">VirtualKeyCode</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</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;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3 id='impl-Erased' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../owning_ref/trait.Erased.html" title="trait owning_ref::Erased">Erased</a> for T</code><a href='#impl-Erased' class='anchor'></a><a class='srclink' href='../src/owning_ref/lib.rs.html#281' title='goto source code'>[src]</a></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><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../";window.currentCrate = "winit";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>