2018-10-28 21:14:05 -05:00

66 lines
26 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 `ThemedPointer` struct in crate `smithay_client_toolkit`."><meta name="keywords" content="rust, rustlang, rust-lang, ThemedPointer"><title>smithay_client_toolkit::pointer::ThemedPointer - 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 struct"><!--[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'>Struct ThemedPointer</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.set_cursor">set_cursor</a></div><a class="sidebar-title" href="#deref-methods">Methods from Deref&lt;Target=Proxy&lt;WlPointer&gt;&gt;</a><div class="sidebar-links"><a href="#method.send">send</a><a href="#method.is_alive">is_alive</a><a href="#method.version">version</a><a href="#method.set_user_data">set_user_data</a><a href="#method.get_user_data">get_user_data</a><a href="#method.is_external">is_external</a><a href="#method.equals">equals</a><a href="#method.c_ptr">c_ptr</a><a href="#method.make_wrapper">make_wrapper</a><a href="#method.child">child</a><a href="#method.is_implemented_with">is_implemented_with</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Deref">Deref</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'>smithay_client_toolkit</a>::<wbr><a href='index.html'>pointer</a></p><script>window.sidebarCurrent = {name: 'ThemedPointer', ty: 'struct', 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"><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='in-band'>Struct <a href='../index.html'>smithay_client_toolkit</a>::<wbr><a href='index.html'>pointer</a>::<wbr><a class="struct" href=''>ThemedPointer</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/smithay_client_toolkit/pointer/theme.rs.html#166-169' title='goto source code'>[src]</a></span></h1><div class="docblock type-decl"><pre class='rust struct'>pub struct ThemedPointer { /* fields omitted */ }</pre></div><div class='docblock'><p>Wrapper of a themed pointer</p>
<p>You can access the underlying <code>Proxy&lt;wl_pointer::WlPointer&gt;</code> via
deref. It will <em>not</em> release the proxy when dropped.</p>
<p>Just like <code>Proxy</code>, this is a <code>Rc</code>-like wrapper. You can clone it
to have several handles to the same theming machinnery of a pointer.</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="struct" href="../../smithay_client_toolkit/pointer/struct.ThemedPointer.html" title="struct smithay_client_toolkit::pointer::ThemedPointer">ThemedPointer</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/smithay_client_toolkit/pointer/theme.rs.html#171-212' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='method.set_cursor' class="method"><span id='set_cursor.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.set_cursor' class='fnname'>set_cursor</a>(&amp;self, name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, serial: <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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;) -&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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/smithay_client_toolkit/pointer/theme.rs.html#179-211' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Change the cursor to the given cursor name</p>
<p>Possible names depend on the theme. Does nothing and returns
<code>Err(())</code> if given name is not available.</p>
<p>If this is done as an anwser to an input event, you need to provide
the associated serial otherwise the server may ignore the request.</p>
</div></div><h2 id='deref-methods' class='small-section-header'>Methods from <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = <a class="struct" href="../../smithay_client_toolkit/reexports/client/struct.Proxy.html" title="struct smithay_client_toolkit::reexports::client::Proxy">Proxy</a>&lt;<a class="struct" href="../../smithay_client_toolkit/reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct smithay_client_toolkit::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>&gt;&gt;<a href='#deref-methods' class='anchor'></a></h2><div class='impl-items'><h4 id='method.send' class="method"><span id='send.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.send' class='fnname'>send</a>(&amp;self, msg: &lt;I as <a class="trait" href="../../smithay_client_toolkit/reexports/client/commons/trait.Interface.html" title="trait smithay_client_toolkit::reexports::client::commons::Interface">Interface</a>&gt;::<a class="type" href="../../smithay_client_toolkit/reexports/client/commons/trait.Interface.html#associatedtype.Request" title="type smithay_client_toolkit::reexports::client::commons::Interface::Request">Request</a>)</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/wayland_client/proxy.rs.html#71-110' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Send a request through this object</p>
<p>This is the generic method to send requests.</p>
<p>Several requests require the creation of new objects using
the <code>child()</code> method, which if done wrong can cause protocol
errors (in which case the server will terminate your connexion).
Thus unless your know exactly what you are doing, you should use
the helper methods provided by the various <code>RequestsTrait</code> for
each interface, which handle this correctly for you.</p>
</div><h4 id='method.is_alive' class="method"><span id='is_alive.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_alive' class='fnname'>is_alive</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/wayland_client/proxy.rs.html#118-130' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Check if the object associated with this proxy is still alive</p>
<p>Will return <code>false</code> if either:</p>
<ul>
<li>The object has been destroyed</li>
<li>The object is not managed by this library (see the <code>from_c_ptr</code> method)</li>
</ul>
</div><h4 id='method.version' class="method"><span id='version.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.version' class='fnname'>version</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/wayland_client/proxy.rs.html#135-148' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Retrieve the interface version of this wayland object instance</p>
<p>Returns 0 on dead objects</p>
</div><h4 id='method.set_user_data' class="method"><span id='set_user_data.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.set_user_data' class='fnname'>set_user_data</a>(&amp;self, ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>)</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/wayland_client/proxy.rs.html#159-170' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Associate an arbitrary payload to this object</p>
<p>The pointer you associate here can be retrieved from any
other proxy to the same wayland object.</p>
<p>Setting or getting user data is done as an atomic operation.
You are responsible for the correct initialization of this
pointer, synchronisation of access, and destruction of the
contents at the appropriate time.</p>
</div><h4 id='method.get_user_data' class="method"><span id='get_user_data.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.get_user_data' class='fnname'>get_user_data</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/wayland_client/proxy.rs.html#175-188' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Retrieve the arbitrary payload associated to this object</p>
<p>See <code>set_user_data</code> for explanations.</p>
</div><h4 id='method.is_external' class="method"><span id='is_external.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_external' class='fnname'>is_external</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/wayland_client/proxy.rs.html#194-196' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Check whether this proxy is managed by the library or not</p>
<p>See <code>from_c_ptr</code> for details.</p>
</div><h4 id='method.equals' class="method"><span id='equals.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.equals' class='fnname'>equals</a>(&amp;self, other: &amp;<a class="struct" href="../../smithay_client_toolkit/reexports/client/struct.Proxy.html" title="struct smithay_client_toolkit::reexports::client::Proxy">Proxy</a>&lt;I&gt;) -&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/wayland_client/proxy.rs.html#199-212' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Check if the other proxy refers to the same underlying wayland object</p>
</div><h4 id='method.c_ptr' class="method"><span id='c_ptr.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.c_ptr' class='fnname'>c_ptr</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="../../smithay_client_toolkit/reexports/client/sys/client/enum.wl_proxy.html" title="enum smithay_client_toolkit::reexports::client::sys::client::wl_proxy">wl_proxy</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/wayland_client/proxy.rs.html#220-222' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Get a raw pointer to the underlying wayland object</p>
<p>Retrieve a pointer to the object from the <code>libwayland-client.so</code> library.
You will mostly need it to interface with C libraries needing access
to wayland objects (to initialize an opengl context for example).</p>
</div><h4 id='method.make_wrapper' class="method"><span id='make_wrapper.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.make_wrapper' class='fnname'>make_wrapper</a>(&amp;self, queue: &amp;<a class="struct" href="../../smithay_client_toolkit/reexports/client/struct.QueueToken.html" title="struct smithay_client_toolkit::reexports::client::QueueToken">QueueToken</a>) -&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="struct" href="../../smithay_client_toolkit/reexports/client/struct.Proxy.html" title="struct smithay_client_toolkit::reexports::client::Proxy">Proxy</a>&lt;I&gt;, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/wayland_client/proxy.rs.html#300-317' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Create a wrapper for this object for queue management</p>
<p>As assigning a proxy to an event queue can be a racy operation
in contextes involving multiple thread, this provides a facility
to do this safely.</p>
<p>The wrapper object created behaves like a regular <code>Proxy</code>, except that
all objects created as the result of its requests will be assigned to
the queue associated to the provided token, rather than the queue of
their parent. This does not change the queue of the proxy itself.</p>
</div><h4 id='method.child' class="method"><span id='child.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.child' class='fnname'>child</a>&lt;C&gt;(&amp;self) -&gt; <a class="struct" href="../../smithay_client_toolkit/reexports/client/struct.NewProxy.html" title="struct smithay_client_toolkit::reexports::client::NewProxy">NewProxy</a>&lt;C&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;C: <a class="trait" href="../../smithay_client_toolkit/reexports/client/commons/trait.Interface.html" title="trait smithay_client_toolkit::reexports::client::commons::Interface">Interface</a>,&nbsp;</span></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/wayland_client/proxy.rs.html#329-343' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Create a new child object</p>
<p>This creates a new wayland object, considered as a
child of this object. It will notably inherit its interface
version.</p>
<p>The created object should immediatly be implemented and sent
in a request to the server, to keep the object list properly
synchronized. Failure to do so will likely cause a protocol
error.</p>
</div><h4 id='method.is_implemented_with' class="method"><span id='is_implemented_with.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.is_implemented_with' class='fnname'>is_implemented_with</a>&lt;Impl&gt;(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;Impl: <a class="trait" href="../../smithay_client_toolkit/reexports/client/commons/trait.Implementation.html" title="trait smithay_client_toolkit::reexports::client::commons::Implementation">Implementation</a>&lt;<a class="struct" href="../../smithay_client_toolkit/reexports/client/struct.Proxy.html" title="struct smithay_client_toolkit::reexports::client::Proxy">Proxy</a>&lt;I&gt;, &lt;I as <a class="trait" href="../../smithay_client_toolkit/reexports/client/commons/trait.Interface.html" title="trait smithay_client_toolkit::reexports::client::commons::Interface">Interface</a>&gt;::<a class="type" href="../../smithay_client_toolkit/reexports/client/commons/trait.Interface.html#associatedtype.Event" title="type smithay_client_toolkit::reexports::client::commons::Interface::Event">Event</a>&gt; + 'static,&nbsp;</span></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/wayland_client/proxy.rs.html#348-368' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Check whether this proxy has been implemented with given type</p>
<p>Always returns false if the proxy is no longer alive</p>
</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="struct" href="../../smithay_client_toolkit/pointer/struct.ThemedPointer.html" title="struct smithay_client_toolkit::pointer::ThemedPointer">ThemedPointer</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/smithay_client_toolkit/pointer/theme.rs.html#214-221' 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="struct" href="../../smithay_client_toolkit/pointer/struct.ThemedPointer.html" title="struct smithay_client_toolkit::pointer::ThemedPointer">ThemedPointer</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/smithay_client_toolkit/pointer/theme.rs.html#215-220' 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#130-132' 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-Deref' 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/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="../../smithay_client_toolkit/pointer/struct.ThemedPointer.html" title="struct smithay_client_toolkit::pointer::ThemedPointer">ThemedPointer</a></code><a href='#impl-Deref' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/smithay_client_toolkit/pointer/theme.rs.html#223-228' title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><div class='impl-items'><h4 id='associatedtype.Target' class="type"><span id='Target.t' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target' class="type">Target</a> = <a class="struct" href="../../smithay_client_toolkit/reexports/client/struct.Proxy.html" title="struct smithay_client_toolkit::reexports::client::Proxy">Proxy</a>&lt;<a class="struct" href="../../smithay_client_toolkit/reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct smithay_client_toolkit::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>&gt;</code></span></h4>
<div class='docblock'><p>The resulting type after dereferencing.</p>
</div><h4 id='method.deref' class="method"><span id='deref.v' class='invisible'><table class='table-display'><tbody><tr><td><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref' class='fnname'>deref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../../smithay_client_toolkit/reexports/client/struct.Proxy.html" title="struct smithay_client_toolkit::reexports::client::Proxy">Proxy</a>&lt;<a class="struct" href="../../smithay_client_toolkit/reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct smithay_client_toolkit::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>&gt;</code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/smithay_client_toolkit/pointer/theme.rs.html#225-227' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Dereferences the value.</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="struct" href="../../smithay_client_toolkit/pointer/struct.ThemedPointer.html" title="struct smithay_client_toolkit::pointer::ThemedPointer">ThemedPointer</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="struct" href="../../smithay_client_toolkit/pointer/struct.ThemedPointer.html" title="struct smithay_client_toolkit::pointer::ThemedPointer">ThemedPointer</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><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 = "smithay_client_toolkit";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>