178 lines
16 KiB
HTML
178 lines
16 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta name="generator" content="rustdoc">
|
||
<meta name="description" content="API documentation for the Rust `GdkEventType` enum in crate `gdk_sys`.">
|
||
<meta name="keywords" content="rust, rustlang, rust-lang, GdkEventType">
|
||
|
||
<title>gdk_sys::GdkEventType - Rust</title>
|
||
|
||
<link rel="stylesheet" type="text/css" href="../normalize.css">
|
||
<link rel="stylesheet" type="text/css" href="../rustdoc.css">
|
||
<link rel="stylesheet" type="text/css" href="../main.css">
|
||
|
||
|
||
|
||
|
||
</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">
|
||
|
||
<p class='location'>Enum GdkEventType</p><div class="block items"><ul><li><a href="#variants">Variants</a></li><li><a href="#implementations">Trait Implementations</a></li></ul></div><p class='location'><a href='index.html'>gdk_sys</a></p><script>window.sidebarCurrent = {name: 'GdkEventType', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script>
|
||
</nav>
|
||
|
||
<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'>gdk_sys</a>::<wbr><a class="enum" href=''>GdkEventType</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'>−</span>]
|
||
</a>
|
||
</span><a class='srclink' href='../src/gdk_sys/lib.rs.html#329-380' title='goto source code'>[src]</a></span></h1>
|
||
<pre class='rust enum'><div class="docblock attributes">#[repr(C)]
|
||
</div>pub enum GdkEventType {
|
||
Nothing,
|
||
Delete,
|
||
Destroy,
|
||
Expose,
|
||
MotionNotify,
|
||
ButtonPress,
|
||
DoubleButtonPress,
|
||
TripleButtonPress,
|
||
ButtonRelease,
|
||
KeyPress,
|
||
KeyRelease,
|
||
EnterNotify,
|
||
LeaveNotify,
|
||
FocusChange,
|
||
Configure,
|
||
Map,
|
||
Unmap,
|
||
PropertyNotify,
|
||
SelectionClear,
|
||
SelectionRequest,
|
||
SelectionNotify,
|
||
ProximityIn,
|
||
ProximityOut,
|
||
DragEnter,
|
||
DragLeave,
|
||
DragMotion,
|
||
DragStatus,
|
||
DropStart,
|
||
DropFinished,
|
||
ClientEvent,
|
||
VisibilityNotify,
|
||
Scroll,
|
||
WindowState,
|
||
Setting,
|
||
OwnerChange,
|
||
GrabBroken,
|
||
Damage,
|
||
TouchBegin,
|
||
TouchUpdate,
|
||
TouchEnd,
|
||
TouchCancel,
|
||
TouchpadSwipe,
|
||
TouchpadPinch,
|
||
PadButtonPress,
|
||
PadButtonRelease,
|
||
PadRing,
|
||
PadStrip,
|
||
PadGroupMode,
|
||
}</pre><h2 id='variants' class='variants'>Variants</h2>
|
||
<span id='variant.Nothing' class='variant'><span id='Nothing.v' class='invisible'><code>Nothing</code></span></span><span id='variant.Delete' class='variant'><span id='Delete.v' class='invisible'><code>Delete</code></span></span><span id='variant.Destroy' class='variant'><span id='Destroy.v' class='invisible'><code>Destroy</code></span></span><span id='variant.Expose' class='variant'><span id='Expose.v' class='invisible'><code>Expose</code></span></span><span id='variant.MotionNotify' class='variant'><span id='MotionNotify.v' class='invisible'><code>MotionNotify</code></span></span><span id='variant.ButtonPress' class='variant'><span id='ButtonPress.v' class='invisible'><code>ButtonPress</code></span></span><span id='variant.DoubleButtonPress' class='variant'><span id='DoubleButtonPress.v' class='invisible'><code>DoubleButtonPress</code></span></span><span id='variant.TripleButtonPress' class='variant'><span id='TripleButtonPress.v' class='invisible'><code>TripleButtonPress</code></span></span><span id='variant.ButtonRelease' class='variant'><span id='ButtonRelease.v' class='invisible'><code>ButtonRelease</code></span></span><span id='variant.KeyPress' class='variant'><span id='KeyPress.v' class='invisible'><code>KeyPress</code></span></span><span id='variant.KeyRelease' class='variant'><span id='KeyRelease.v' class='invisible'><code>KeyRelease</code></span></span><span id='variant.EnterNotify' class='variant'><span id='EnterNotify.v' class='invisible'><code>EnterNotify</code></span></span><span id='variant.LeaveNotify' class='variant'><span id='LeaveNotify.v' class='invisible'><code>LeaveNotify</code></span></span><span id='variant.FocusChange' class='variant'><span id='FocusChange.v' class='invisible'><code>FocusChange</code></span></span><span id='variant.Configure' class='variant'><span id='Configure.v' class='invisible'><code>Configure</code></span></span><span id='variant.Map' class='variant'><span id='Map.v' class='invisible'><code>Map</code></span></span><span id='variant.Unmap' class='variant'><span id='Unmap.v' class='invisible'><code>Unmap</code></span></span><span id='variant.PropertyNotify' class='variant'><span id='PropertyNotify.v' class='invisible'><code>PropertyNotify</code></span></span><span id='variant.SelectionClear' class='variant'><span id='SelectionClear.v' class='invisible'><code>SelectionClear</code></span></span><span id='variant.SelectionRequest' class='variant'><span id='SelectionRequest.v' class='invisible'><code>SelectionRequest</code></span></span><span id='variant.SelectionNotify' class='variant'><span id='SelectionNotify.v' class='invisible'><code>SelectionNotify</code></span></span><span id='variant.ProximityIn' class='variant'><span id='ProximityIn.v' class='invisible'><code>ProximityIn</code></span></span><span id='variant.ProximityOut' class='variant'><span id='ProximityOut.v' class='invisible'><code>ProximityOut</code></span></span><span id='variant.DragEnter' class='variant'><span id='DragEnter.v' class='invisible'><code>DragEnter</code></span></span><span id='variant.DragLeave' class='variant'><span id='DragLeave.v' class='invisible'><code>DragLeave</code></span></span><span id='variant.DragMotion' class='variant'><span id='DragMotion.v' class='invisible'><code>DragMotion</code></span></span><span id='variant.DragStatus' class='variant'><span id='DragStatus.v' class='invisible'><code>DragStatus</code></span></span><span id='variant.DropStart' class='variant'><span id='DropStart.v' class='invisible'><code>DropStart</code></span></span><span id='variant.DropFinished' class='variant'><span id='DropFinished.v' class='invisible'><code>DropFinished</code></span></span><span id='variant.ClientEvent' class='variant'><span id='ClientEvent.v' class='invisible'><code>ClientEvent</code></span></span><span id='variant.VisibilityNotify' class='variant'><span id='VisibilityNotify.v' class='invisible'><code>VisibilityNotify</code></span></span><span id='variant.Scroll' class='variant'><span id='Scroll.v' class='invisible'><code>Scroll</code></span></span><span id='variant.WindowState' class='variant'><span id='WindowState.v' class='invisible'><code>WindowState</code></span></span><span id='variant.Setting' class='variant'><span id='Setting.v' class='invisible'><code>Setting</code></span></span><span id='variant.OwnerChange' class='variant'><span id='OwnerChange.v' class='invisible'><code>OwnerChange</code></span></span><span id='variant.GrabBroken' class='variant'><span id='GrabBroken.v' class='invisible'><code>GrabBroken</code></span></span><span id='variant.Damage' class='variant'><span id='Damage.v' class='invisible'><code>Damage</code></span></span><span id='variant.TouchBegin' class='variant'><span id='TouchBegin.v' class='invisible'><code>TouchBegin</code></span></span><span id='variant.TouchUpdate' class='variant'><span id='TouchUpdate.v' class='invisible'><code>TouchUpdate</code></span></span><span id='variant.TouchEnd' class='variant'><span id='TouchEnd.v' class='invisible'><code>TouchEnd</code></span></span><span id='variant.TouchCancel' class='variant'><span id='TouchCancel.v' class='invisible'><code>TouchCancel</code></span></span><span id='variant.TouchpadSwipe' class='variant'><span id='TouchpadSwipe.v' class='invisible'><code>TouchpadSwipe</code></span></span><span id='variant.TouchpadPinch' class='variant'><span id='TouchpadPinch.v' class='invisible'><code>TouchpadPinch</code></span></span><span id='variant.PadButtonPress' class='variant'><span id='PadButtonPress.v' class='invisible'><code>PadButtonPress</code></span></span><span id='variant.PadButtonRelease' class='variant'><span id='PadButtonRelease.v' class='invisible'><code>PadButtonRelease</code></span></span><span id='variant.PadRing' class='variant'><span id='PadRing.v' class='invisible'><code>PadRing</code></span></span><span id='variant.PadStrip' class='variant'><span id='PadStrip.v' class='invisible'><code>PadStrip</code></span></span><span id='variant.PadGroupMode' class='variant'><span id='PadGroupMode.v' class='invisible'><code>PadGroupMode</code></span></span><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><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="../gdk_sys/enum.GdkEventType.html" title="enum gdk_sys::GdkEventType">GdkEventType</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_sys/lib.rs.html#327' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="enum" href="../gdk_sys/enum.GdkEventType.html" title="enum gdk_sys::GdkEventType">GdkEventType</a></code></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'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></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 class='impl'><span class='in-band'><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="../gdk_sys/enum.GdkEventType.html" title="enum gdk_sys::GdkEventType">GdkEventType</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_sys/lib.rs.html#327' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><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="../gdk_sys/enum.GdkEventType.html" title="enum gdk_sys::GdkEventType">GdkEventType</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_sys/lib.rs.html#327' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, __arg_0: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span></h4>
|
||
<div class='docblock'><p>Formats the value using the given formatter.</p>
|
||
</div></div><h3 class='impl'><span class='in-band'><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="../gdk_sys/enum.GdkEventType.html" title="enum gdk_sys::GdkEventType">GdkEventType</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_sys/lib.rs.html#327' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><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="../gdk_sys/enum.GdkEventType.html" title="enum gdk_sys::GdkEventType">GdkEventType</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_sys/lib.rs.html#327' title='goto source code'>[src]</a></span></h3>
|
||
<div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, __arg_0: &<a class="enum" href="../gdk_sys/enum.GdkEventType.html" title="enum gdk_sys::GdkEventType">GdkEventType</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></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'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||
<div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||
</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>?</dt>
|
||
<dd>Show this help dialog</dd>
|
||
<dt>S</dt>
|
||
<dd>Focus the search field</dd>
|
||
<dt>⇤</dt>
|
||
<dd>Move up in search results</dd>
|
||
<dt>⇥</dt>
|
||
<dd>Move down in search results</dd>
|
||
<dt>⏎</dt>
|
||
<dd>Go to active search result</dd>
|
||
<dt>+</dt>
|
||
<dd>Collapse/expand 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 = "gdk_sys";
|
||
</script>
|
||
<script src="../main.js"></script>
|
||
<script defer src="../search-index.js"></script>
|
||
</body>
|
||
</html> |