This commit is contained in:
wash2 2026-04-18 20:11:25 +00:00
commit 0fa87f2b35
16382 changed files with 734838 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!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 `seat` mod in crate `cosmic`."><title>cosmic::cctk::sctk::seat - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module seat</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>cctk::<wbr>sctk</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../index.html">cosmic</a>::<wbr><a href="../../index.html">cctk</a>::<wbr><a href="../index.html">sctk</a></div><h1>Module <span>seat</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="input_method/index.html" title="mod cosmic::cctk::sctk::seat::input_method">input_<wbr>method</a></dt><dd>Implementation of the <code>input-method-unstable-v2</code> protocol.</dd><dt><a class="mod" href="input_method_v3/index.html" title="mod cosmic::cctk::sctk::seat::input_method_v3">input_<wbr>method_<wbr>v3</a></dt><dd>This implements support for the experimental xx-input-method-v2 protocol.
That protocol will hopefully become -v3 without changing the API at some point.</dd><dt><a class="mod" href="keyboard/index.html" title="mod cosmic::cctk::sctk::seat::keyboard">keyboard</a></dt><dt><a class="mod" href="pointer/index.html" title="mod cosmic::cctk::sctk::seat::pointer">pointer</a></dt><dt><a class="mod" href="pointer_constraints/index.html" title="mod cosmic::cctk::sctk::seat::pointer_constraints">pointer_<wbr>constraints</a></dt><dt><a class="mod" href="relative_pointer/index.html" title="mod cosmic::cctk::sctk::seat::relative_pointer">relative_<wbr>pointer</a></dt><dt><a class="mod" href="touch/index.html" title="mod cosmic::cctk::sctk::seat::touch">touch</a></dt></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.SeatData.html" title="struct cosmic::cctk::sctk::seat::SeatData">Seat<wbr>Data</a></dt><dt><a class="struct" href="struct.SeatInfo.html" title="struct cosmic::cctk::sctk::seat::SeatInfo">Seat<wbr>Info</a></dt><dd>Description of a seat.</dd><dt><a class="struct" href="struct.SeatState.html" title="struct cosmic::cctk::sctk::seat::SeatState">Seat<wbr>State</a></dt></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.Capability.html" title="enum cosmic::cctk::sctk::seat::Capability">Capability</a></dt><dt><a class="enum" href="enum.SeatError.html" title="enum cosmic::cctk::sctk::seat::SeatError">Seat<wbr>Error</a></dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.SeatHandler.html" title="trait cosmic::cctk::sctk::seat::SeatHandler">Seat<wbr>Handler</a></dt></dl></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,5 @@
<!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="Implementation of the `input-method-unstable-v2` protocol."><title>cosmic::cctk::sctk::seat::input_method - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module input_<wbr>method</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#implementation-status" title="Implementation status">Implementation status</a></li></ul><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a></div><h1>Module <span>input_method</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Implementation of the <code>input-method-unstable-v2</code> protocol.</p>
<p>This protocol allows applications to act as input methods for compositors.</p>
<h4 id="implementation-status"><a class="doc-anchor" href="#implementation-status">§</a>Implementation status</h4>
<p>Currently only the input-method object is supported. No keyboard grab, no popup surface.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.InputMethod.html" title="struct cosmic::cctk::sctk::seat::input_method::InputMethod">Input<wbr>Method</a></dt><dt><a class="struct" href="struct.InputMethodData.html" title="struct cosmic::cctk::sctk::seat::input_method::InputMethodData">Input<wbr>Method<wbr>Data</a></dt><dt><a class="struct" href="struct.InputMethodEventState.html" title="struct cosmic::cctk::sctk::seat::input_method::InputMethodEventState">Input<wbr>Method<wbr>Event<wbr>State</a></dt><dd>Stores incoming interface state.</dd><dt><a class="struct" href="struct.InputMethodManager.html" title="struct cosmic::cctk::sctk::seat::input_method::InputMethodManager">Input<wbr>Method<wbr>Manager</a></dt><dt><a class="struct" href="struct.SurroundingText.html" title="struct cosmic::cctk::sctk::seat::input_method::SurroundingText">Surrounding<wbr>Text</a></dt><dt><a class="struct" href="struct.ZwpInputMethodV2.html" title="struct cosmic::cctk::sctk::seat::input_method::ZwpInputMethodV2">ZwpInput<wbr>Method<wbr>V2</a></dt><dd>input method</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.Active.html" title="enum cosmic::cctk::sctk::seat::input_method::Active">Active</a></dt><dd>State machine for determining the capabilities of a text input</dd><dt><a class="enum" href="enum.CursorPosition.html" title="enum cosmic::cctk::sctk::seat::input_method::CursorPosition">Cursor<wbr>Position</a></dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.InputMethodDataExt.html" title="trait cosmic::cctk::sctk::seat::input_method::InputMethodDataExt">Input<wbr>Method<wbr>Data<wbr>Ext</a></dt><dt><a class="trait" href="trait.InputMethodHandler.html" title="trait cosmic::cctk::sctk::seat::input_method::InputMethodHandler">Input<wbr>Method<wbr>Handler</a></dt></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["Active","CursorPosition"],"struct":["InputMethod","InputMethodData","InputMethodEventState","InputMethodManager","SurroundingText","ZwpInputMethodV2"],"trait":["InputMethodDataExt","InputMethodHandler"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,4 @@
<!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 `InputMethodDataExt` trait in crate `cosmic`."><title>InputMethodDataExt in cosmic::cctk::sctk::seat::input_method - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Input<wbr>Method<wbr>Data<wbr>Ext</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.input_method_data" title="input_method_data">input_method_data</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>input_<wbr>method</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">input_method</a></div><h1>Trait <span class="trait">InputMethodDataExt</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait InputMethodDataExt: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> {
// Required method
fn <a href="#tymethod.input_method_data" class="fn">input_method_data</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.InputMethodData.html" title="struct cosmic::cctk::sctk::seat::input_method::InputMethodData">InputMethodData</a>;
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.input_method_data" class="method"><h4 class="code-header">fn <a href="#tymethod.input_method_data" class="fn">input_method_data</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.InputMethodData.html" title="struct cosmic::cctk::sctk::seat::input_method::InputMethodData">InputMethodData</a></h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-InputMethodDataExt-for-InputMethodData" class="impl"><a href="#impl-InputMethodDataExt-for-InputMethodData" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.InputMethodDataExt.html" title="trait cosmic::cctk::sctk::seat::input_method::InputMethodDataExt">InputMethodDataExt</a> for <a class="struct" href="struct.InputMethodData.html" title="struct cosmic::cctk::sctk::seat::input_method::InputMethodData">InputMethodData</a></h3></section></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/input_method/trait.InputMethodDataExt.js" data-ignore-extern-crates="smithay_client_toolkit" async></script></section></div></main></body></html>

View file

@ -0,0 +1,27 @@
<!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 `InputMethodHandler` trait in crate `cosmic`."><title>InputMethodHandler in cosmic::cctk::sctk::seat::input_method - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Input<wbr>Method<wbr>Handler</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.handle_done" title="handle_done">handle_done</a></li><li><a href="#tymethod.handle_unavailable" title="handle_unavailable">handle_unavailable</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>input_<wbr>method</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">input_method</a></div><h1>Trait <span class="trait">InputMethodHandler</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait InputMethodHandler: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
// Required methods
fn <a href="#tymethod.handle_done" class="fn">handle_done</a>(
&amp;self,
connection: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
input_method: &amp;<a class="struct" href="struct.ZwpInputMethodV2.html" title="struct cosmic::cctk::sctk::seat::input_method::ZwpInputMethodV2">ZwpInputMethodV2</a>,
state: &amp;<a class="struct" href="struct.InputMethodEventState.html" title="struct cosmic::cctk::sctk::seat::input_method::InputMethodEventState">InputMethodEventState</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.handle_unavailable" class="fn">handle_unavailable</a>(
&amp;self,
connection: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
input_method: &amp;<a class="struct" href="struct.ZwpInputMethodV2.html" title="struct cosmic::cctk::sctk::seat::input_method::ZwpInputMethodV2">ZwpInputMethodV2</a>,
);
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.handle_done" class="method"><h4 class="code-header">fn <a href="#tymethod.handle_done" class="fn">handle_done</a>(
&amp;self,
connection: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
input_method: &amp;<a class="struct" href="struct.ZwpInputMethodV2.html" title="struct cosmic::cctk::sctk::seat::input_method::ZwpInputMethodV2">ZwpInputMethodV2</a>,
state: &amp;<a class="struct" href="struct.InputMethodEventState.html" title="struct cosmic::cctk::sctk::seat::input_method::InputMethodEventState">InputMethodEventState</a>,
)</h4></section><section id="tymethod.handle_unavailable" class="method"><h4 class="code-header">fn <a href="#tymethod.handle_unavailable" class="fn">handle_unavailable</a>(
&amp;self,
connection: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
input_method: &amp;<a class="struct" href="struct.ZwpInputMethodV2.html" title="struct cosmic::cctk::sctk::seat::input_method::ZwpInputMethodV2">ZwpInputMethodV2</a>,
)</h4></section></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/input_method/trait.InputMethodHandler.js" async></script></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,3 @@
<!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="This implements support for the experimental xx-input-method-v2 protocol. That protocol will hopefully become -v3 without changing the API at some point."><title>cosmic::cctk::sctk::seat::input_method_v3 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module input_<wbr>method_<wbr>v3</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a></div><h1>Module <span>input_method_v3</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This implements support for the experimental xx-input-method-v2 protocol.
That protocol will hopefully become -v3 without changing the API at some point.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.InputMethod.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::InputMethod">Input<wbr>Method</a></dt><dt><a class="struct" href="struct.InputMethodData.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::InputMethodData">Input<wbr>Method<wbr>Data</a></dt><dt><a class="struct" href="struct.InputMethodEventState.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::InputMethodEventState">Input<wbr>Method<wbr>Event<wbr>State</a></dt><dd>Stores incoming interface state.</dd><dt><a class="struct" href="struct.InputMethodManager.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::InputMethodManager">Input<wbr>Method<wbr>Manager</a></dt><dt><a class="struct" href="struct.Popup.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::Popup">Popup</a></dt><dt><a class="struct" href="struct.PopupData.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::PopupData">Popup<wbr>Data</a></dt><dd>Data reachable from XxInputPopupSurfaceV2</dd><dt><a class="struct" href="struct.PopupPositioner.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::PopupPositioner">Popup<wbr>Positioner</a></dt><dd>A trivial wrapper for an <a href="struct.XxInputPopupPositionerV1.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::XxInputPopupPositionerV1"><code>XxInputPopupPositionerV1</code></a>.</dd><dt><a class="struct" href="struct.PopupState.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::PopupState">Popup<wbr>State</a></dt><dd>Server-provided popup state</dd><dt><a class="struct" href="struct.PositionerData.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::PositionerData">Positioner<wbr>Data</a></dt><dt><a class="struct" href="struct.Rectangle.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::Rectangle">Rectangle</a></dt><dt><a class="struct" href="struct.Size.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::Size">Size</a></dt><dt><a class="struct" href="struct.SurroundingText.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::SurroundingText">Surrounding<wbr>Text</a></dt><dt><a class="struct" href="struct.XxInputMethodV1.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::XxInputMethodV1">XxInput<wbr>Method<wbr>V1</a></dt><dd>input method</dd><dt><a class="struct" href="struct.XxInputPopupPositionerV1.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::XxInputPopupPositionerV1">XxInput<wbr>Popup<wbr>Positioner<wbr>V1</a></dt><dd>input method popup positioner</dd><dt><a class="struct" href="struct.XxInputPopupSurfaceV2.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::XxInputPopupSurfaceV2">XxInput<wbr>Popup<wbr>Surface<wbr>V2</a></dt><dd>popup surface</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.Active.html" title="enum cosmic::cctk::sctk::seat::input_method_v3::Active">Active</a></dt><dd>State machine for determining the capabilities of a text input</dd><dt><a class="enum" href="enum.Anchor.html" title="enum cosmic::cctk::sctk::seat::input_method_v3::Anchor">Anchor</a></dt><dt><a class="enum" href="enum.CursorPosition.html" title="enum cosmic::cctk::sctk::seat::input_method_v3::CursorPosition">Cursor<wbr>Position</a></dt><dt><a class="enum" href="enum.Gravity.html" title="enum cosmic::cctk::sctk::seat::input_method_v3::Gravity">Gravity</a></dt><dt><a class="enum" href="enum.InvalidIndex.html" title="enum cosmic::cctk::sctk::seat::input_method_v3::InvalidIndex">Invalid<wbr>Index</a></dt><dd>Cant set the preedit string due to cursor index not on UTF-8 code point boundary</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.InputMethodDataExt.html" title="trait cosmic::cctk::sctk::seat::input_method_v3::InputMethodDataExt">Input<wbr>Method<wbr>Data<wbr>Ext</a></dt><dt><a class="trait" href="trait.InputMethodHandler.html" title="trait cosmic::cctk::sctk::seat::input_method_v3::InputMethodHandler">Input<wbr>Method<wbr>Handler</a></dt></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["Active","Anchor","CursorPosition","Gravity","InvalidIndex"],"struct":["InputMethod","InputMethodData","InputMethodEventState","InputMethodManager","Popup","PopupData","PopupPositioner","PopupState","PositionerData","Rectangle","Size","SurroundingText","XxInputMethodV1","XxInputPopupPositionerV1","XxInputPopupSurfaceV2"],"trait":["InputMethodDataExt","InputMethodHandler"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,4 @@
<!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 `InputMethodDataExt` trait in crate `cosmic`."><title>InputMethodDataExt in cosmic::cctk::sctk::seat::input_method_v3 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Input<wbr>Method<wbr>Data<wbr>Ext</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.input_method_data" title="input_method_data">input_method_data</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>input_<wbr>method_<wbr>v3</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">input_method_v3</a></div><h1>Trait <span class="trait">InputMethodDataExt</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait InputMethodDataExt: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> {
// Required method
fn <a href="#tymethod.input_method_data" class="fn">input_method_data</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.InputMethodData.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::InputMethodData">InputMethodData</a>;
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.input_method_data" class="method"><h4 class="code-header">fn <a href="#tymethod.input_method_data" class="fn">input_method_data</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.InputMethodData.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::InputMethodData">InputMethodData</a></h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-InputMethodDataExt-for-InputMethodData" class="impl"><a href="#impl-InputMethodDataExt-for-InputMethodData" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.InputMethodDataExt.html" title="trait cosmic::cctk::sctk::seat::input_method_v3::InputMethodDataExt">InputMethodDataExt</a> for <a class="struct" href="struct.InputMethodData.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::InputMethodData">InputMethodData</a></h3></section></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/input_method_v3/trait.InputMethodDataExt.js" data-ignore-extern-crates="smithay_client_toolkit" async></script></section></div></main></body></html>

View file

@ -0,0 +1,23 @@
<!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 `InputMethodHandler` trait in crate `cosmic`."><title>InputMethodHandler in cosmic::cctk::sctk::seat::input_method_v3 - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Input<wbr>Method<wbr>Handler</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.handle_done" title="handle_done">handle_done</a></li><li><a href="#tymethod.handle_unavailable" title="handle_unavailable">handle_unavailable</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>input_<wbr>method_<wbr>v3</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">input_method_v3</a></div><h1>Trait <span class="trait">InputMethodHandler</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait InputMethodHandler: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
// Required methods
fn <a href="#tymethod.handle_done" class="fn">handle_done</a>(
&amp;mut self,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
input_method: &amp;<a class="struct" href="struct.XxInputMethodV1.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::XxInputMethodV1">XxInputMethodV1</a>,
state: &amp;<a class="struct" href="struct.InputMethodEventState.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::InputMethodEventState">InputMethodEventState</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.handle_unavailable" class="fn">handle_unavailable</a>(
&amp;mut self,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
input_method: &amp;<a class="struct" href="struct.XxInputMethodV1.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::XxInputMethodV1">XxInputMethodV1</a>,
);
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.handle_done" class="method"><h4 class="code-header">fn <a href="#tymethod.handle_done" class="fn">handle_done</a>(
&amp;mut self,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
input_method: &amp;<a class="struct" href="struct.XxInputMethodV1.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::XxInputMethodV1">XxInputMethodV1</a>,
state: &amp;<a class="struct" href="struct.InputMethodEventState.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::InputMethodEventState">InputMethodEventState</a>,
)</h4></section><section id="tymethod.handle_unavailable" class="method"><h4 class="code-header">fn <a href="#tymethod.handle_unavailable" class="fn">handle_unavailable</a>(
&amp;mut self,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
input_method: &amp;<a class="struct" href="struct.XxInputMethodV1.html" title="struct cosmic::cctk::sctk::seat::input_method_v3::XxInputMethodV1">XxInputMethodV1</a>,
)</h4></section></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/input_method_v3/trait.InputMethodHandler.js" async></script></section></div></main></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
<!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 `repeat` mod in crate `cosmic`."><title>cosmic::cctk::sctk::seat::keyboard::repeat - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../../" data-static-root-path="../../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module repeat</a></h2><h3><a href="#types">Module Items</a></h3><ul class="block"><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>keyboard</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../../index.html">cosmic</a>::<wbr><a href="../../../../index.html">cctk</a>::<wbr><a href="../../../index.html">sctk</a>::<wbr><a href="../../index.html">seat</a>::<wbr><a href="../index.html">keyboard</a></div><h1>Module <span>repeat</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.RepeatCallback.html" title="type cosmic::cctk::sctk::seat::keyboard::repeat::RepeatCallback">Repeat<wbr>Callback</a></dt></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"type":["RepeatCallback"]};

View file

@ -0,0 +1 @@
<!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 `RepeatCallback` type in crate `cosmic`."><title>RepeatCallback in cosmic::cctk::sctk::seat::keyboard::repeat - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../../" data-static-root-path="../../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Repeat<wbr>Callback</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>keyboard::<wbr>repeat</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../../index.html">cosmic</a>::<wbr><a href="../../../../index.html">cctk</a>::<wbr><a href="../../../index.html">sctk</a>::<wbr><a href="../../index.html">seat</a>::<wbr><a href="../index.html">keyboard</a>::<wbr><a href="index.html">repeat</a></div><h1>Type Alias <span class="type">RepeatCallback</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub type RepeatCallback&lt;T&gt; = <a class="struct" href="../../../reexports/client/backend/smallvec/alloc/boxed/struct.Box.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut T</a>, &amp;<a class="struct" href="../../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>, <a class="struct" href="../struct.KeyEvent.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyEvent">KeyEvent</a>)&gt;;</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct RepeatCallback&lt;T&gt;(<span class="comment">/* private fields */</span>);</code></pre><script src="../../../../../../type.impl/cosmic/cctk/sctk/reexports/client/backend/smallvec/alloc/boxed/struct.Box.js" data-self-path="cosmic::cctk::sctk::seat::keyboard::repeat::RepeatCallback" async></script></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["KeyboardError","RepeatInfo"],"mod":["repeat"],"struct":["KeyCode","KeyEvent","KeyboardData","Keymap","Keysym","Modifiers","RMLVO","RawModifiers"],"trait":["KeyboardDataExt","KeyboardHandler"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,8 @@
<!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 `KeyboardDataExt` trait in crate `cosmic`."><title>KeyboardDataExt in cosmic::cctk::sctk::seat::keyboard - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Keyboard<wbr>Data<wbr>Ext</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.State" title="State">State</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.keyboard_data" title="keyboard_data">keyboard_data</a></li><li><a href="#tymethod.keyboard_data_mut" title="keyboard_data_mut">keyboard_data_mut</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>keyboard</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">keyboard</a></div><h1>Trait <span class="trait">KeyboardDataExt</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait KeyboardDataExt: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> {
type <a href="#associatedtype.State" class="associatedtype">State</a>: 'static;
// Required methods
fn <a href="#tymethod.keyboard_data" class="fn">keyboard_data</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.KeyboardData.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyboardData">KeyboardData</a>&lt;Self::<a class="associatedtype" href="trait.KeyboardDataExt.html#associatedtype.State" title="type cosmic::cctk::sctk::seat::keyboard::KeyboardDataExt::State">State</a>&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.keyboard_data_mut" class="fn">keyboard_data_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="struct.KeyboardData.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyboardData">KeyboardData</a>&lt;Self::<a class="associatedtype" href="trait.KeyboardDataExt.html#associatedtype.State" title="type cosmic::cctk::sctk::seat::keyboard::KeyboardDataExt::State">State</a>&gt;;
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.State" class="method"><h4 class="code-header">type <a href="#associatedtype.State" class="associatedtype">State</a>: 'static</h4></section></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.keyboard_data" class="method"><h4 class="code-header">fn <a href="#tymethod.keyboard_data" class="fn">keyboard_data</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.KeyboardData.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyboardData">KeyboardData</a>&lt;Self::<a class="associatedtype" href="trait.KeyboardDataExt.html#associatedtype.State" title="type cosmic::cctk::sctk::seat::keyboard::KeyboardDataExt::State">State</a>&gt;</h4></section><section id="tymethod.keyboard_data_mut" class="method"><h4 class="code-header">fn <a href="#tymethod.keyboard_data_mut" class="fn">keyboard_data_mut</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="struct.KeyboardData.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyboardData">KeyboardData</a>&lt;Self::<a class="associatedtype" href="trait.KeyboardDataExt.html#associatedtype.State" title="type cosmic::cctk::sctk::seat::keyboard::KeyboardDataExt::State">State</a>&gt;</h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-KeyboardDataExt-for-KeyboardData%3CT%3E" class="impl"><a href="#impl-KeyboardDataExt-for-KeyboardData%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.KeyboardDataExt.html" title="trait cosmic::cctk::sctk::seat::keyboard::KeyboardDataExt">KeyboardDataExt</a> for <a class="struct" href="struct.KeyboardData.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyboardData">KeyboardData</a>&lt;T&gt;<div class="where">where
T: 'static,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.State-1" class="associatedtype trait-impl"><a href="#associatedtype.State-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.State" class="associatedtype">State</a> = T</h4></section></div></details></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/keyboard/trait.KeyboardDataExt.js" data-ignore-extern-crates="smithay_client_toolkit" async></script></section></div></main></body></html>

View file

@ -0,0 +1,155 @@
<!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="Handler trait for keyboard input."><title>KeyboardHandler in cosmic::cctk::sctk::seat::keyboard - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Keyboard<wbr>Handler</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.enter" title="enter">enter</a></li><li><a href="#tymethod.leave" title="leave">leave</a></li><li><a href="#tymethod.press_key" title="press_key">press_key</a></li><li><a href="#tymethod.release_key" title="release_key">release_key</a></li><li><a href="#tymethod.repeat_key" title="repeat_key">repeat_key</a></li><li><a href="#tymethod.update_modifiers" title="update_modifiers">update_modifiers</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.update_keymap" title="update_keymap">update_keymap</a></li><li><a href="#method.update_repeat_info" title="update_repeat_info">update_repeat_info</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>keyboard</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">keyboard</a></div><h1>Trait <span class="trait">KeyboardHandler</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait KeyboardHandler: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
// Required methods
fn <a href="#tymethod.enter" class="fn">enter</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
raw: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>],
keysyms: &amp;[<a class="struct" href="struct.Keysym.html" title="struct cosmic::cctk::sctk::seat::keyboard::Keysym">Keysym</a>],
);
<span class="item-spacer"></span> fn <a href="#tymethod.leave" class="fn">leave</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.press_key" class="fn">press_key</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
event: <a class="struct" href="struct.KeyEvent.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyEvent">KeyEvent</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.repeat_key" class="fn">repeat_key</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
event: <a class="struct" href="struct.KeyEvent.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyEvent">KeyEvent</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.release_key" class="fn">release_key</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
event: <a class="struct" href="struct.KeyEvent.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyEvent">KeyEvent</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.update_modifiers" class="fn">update_modifiers</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
modifiers: <a class="struct" href="struct.Modifiers.html" title="struct cosmic::cctk::sctk::seat::keyboard::Modifiers">Modifiers</a>,
raw_modifiers: <a class="struct" href="struct.RawModifiers.html" title="struct cosmic::cctk::sctk::seat::keyboard::RawModifiers">RawModifiers</a>,
layout: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
);
// Provided methods
fn <a href="#method.update_repeat_info" class="fn">update_repeat_info</a>(
&amp;mut self,
_conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
_qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
_keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
_info: <a class="enum" href="enum.RepeatInfo.html" title="enum cosmic::cctk::sctk::seat::keyboard::RepeatInfo">RepeatInfo</a>,
) { ... }
<span class="item-spacer"></span> fn <a href="#method.update_keymap" class="fn">update_keymap</a>(
&amp;mut self,
_conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
_qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
_keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
_keymap: <a class="struct" href="struct.Keymap.html" title="struct cosmic::cctk::sctk::seat::keyboard::Keymap">Keymap</a>&lt;'_&gt;,
) { ... }
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Handler trait for keyboard input.</p>
<p>The functions defined in this trait are called as keyboard events are received from the compositor.</p>
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.enter" class="method"><h4 class="code-header">fn <a href="#tymethod.enter" class="fn">enter</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
raw: &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>],
keysyms: &amp;[<a class="struct" href="struct.Keysym.html" title="struct cosmic::cctk::sctk::seat::keyboard::Keysym">Keysym</a>],
)</h4></section></summary><div class="docblock"><p>The keyboard has entered a surface.</p>
<p>When called, you may assume the specified surface has keyboard focus.</p>
<p>When a keyboard enters a surface, the <code>raw</code> and <code>keysym</code> fields indicate which keys are currently
pressed.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.leave" class="method"><h4 class="code-header">fn <a href="#tymethod.leave" class="fn">leave</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
)</h4></section></summary><div class="docblock"><p>The keyboard has left a surface.</p>
<p>When called, keyboard focus leaves the specified surface.</p>
<p>All currently held down keys are released when this event occurs.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.press_key" class="method"><h4 class="code-header">fn <a href="#tymethod.press_key" class="fn">press_key</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
event: <a class="struct" href="struct.KeyEvent.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyEvent">KeyEvent</a>,
)</h4></section></summary><div class="docblock"><p>A key has been pressed on the keyboard.</p>
<p>The key will repeat if there is no other press event afterwards or the key is released.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.repeat_key" class="method"><h4 class="code-header">fn <a href="#tymethod.repeat_key" class="fn">repeat_key</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
event: <a class="struct" href="struct.KeyEvent.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyEvent">KeyEvent</a>,
)</h4></section></summary><div class="docblock"><p>A key has been previously pressed and is now repeating.</p>
<p>This is only called on supporting compositors.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.release_key" class="method"><h4 class="code-header">fn <a href="#tymethod.release_key" class="fn">release_key</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
event: <a class="struct" href="struct.KeyEvent.html" title="struct cosmic::cctk::sctk::seat::keyboard::KeyEvent">KeyEvent</a>,
)</h4></section></summary><div class="docblock"><p>A key has been released.</p>
<p>This stops the key from being repeated if the key is the last key which was pressed.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.update_modifiers" class="method"><h4 class="code-header">fn <a href="#tymethod.update_modifiers" class="fn">update_modifiers</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
modifiers: <a class="struct" href="struct.Modifiers.html" title="struct cosmic::cctk::sctk::seat::keyboard::Modifiers">Modifiers</a>,
raw_modifiers: <a class="struct" href="struct.RawModifiers.html" title="struct cosmic::cctk::sctk::seat::keyboard::RawModifiers">RawModifiers</a>,
layout: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
)</h4></section></summary><div class="docblock"><p>Keyboard modifiers have been updated.</p>
<p>This happens when one of the modifier keys, such as “Shift”, “Control” or “Alt” is pressed or
released.</p>
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.update_repeat_info" class="method"><h4 class="code-header">fn <a href="#method.update_repeat_info" class="fn">update_repeat_info</a>(
&amp;mut self,
_conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
_qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
_keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
_info: <a class="enum" href="enum.RepeatInfo.html" title="enum cosmic::cctk::sctk::seat::keyboard::RepeatInfo">RepeatInfo</a>,
)</h4></section></summary><div class="docblock"><p>The keyboard has updated the rate and delay between repeating key inputs.</p>
<p>This function does nothing by default but is provided if a repeat mechanism outside of calloop is<br />
used.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.update_keymap" class="method"><h4 class="code-header">fn <a href="#method.update_keymap" class="fn">update_keymap</a>(
&amp;mut self,
_conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
_qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
_keyboard: &amp;<a class="struct" href="../../reexports/client/protocol/wl_keyboard/struct.WlKeyboard.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_keyboard::WlKeyboard">WlKeyboard</a>,
_keymap: <a class="struct" href="struct.Keymap.html" title="struct cosmic::cctk::sctk::seat::keyboard::Keymap">Keymap</a>&lt;'_&gt;,
)</h4></section></summary><div class="docblock"><p>Keyboard keymap has been updated.</p>
<p><code>keymap.as_string()</code> can be used get the keymap as a string. It cannot be exposed directly
as an <code>xkbcommon::xkb::Keymap</code> due to the fact xkbcommon uses non-thread-safe reference
counting. But can be used to create an independent <code>Keymap</code>.</p>
<p>This is called after the default handler for keymap changes and does nothing by default.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/keyboard/trait.KeyboardHandler.js" async></script></section></div></main></body></html>

View file

@ -0,0 +1,2 @@
<!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="See also `BTN_SIDE`."><title>BTN_BACK in cosmic::cctk::sctk::seat::pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer</a></div><h1>Constant <span class="constant">BTN_BACK</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const BTN_BACK: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a> = 0x116; // 278u32</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>See also <a href="constant.BTN_SIDE.html" title="constant cosmic::cctk::sctk::seat::pointer::BTN_SIDE"><code>BTN_SIDE</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,2 @@
<!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="The fifth non-scroll button, which is often used as “forward” in web browsers."><title>BTN_EXTRA in cosmic::cctk::sctk::seat::pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer</a></div><h1>Constant <span class="constant">BTN_EXTRA</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const BTN_EXTRA: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a> = 0x114; // 276u32</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The fifth non-scroll button, which is often used as “forward” in web browsers.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,2 @@
<!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="See also `BTN_EXTRA`."><title>BTN_FORWARD in cosmic::cctk::sctk::seat::pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer</a></div><h1>Constant <span class="constant">BTN_FORWARD</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const BTN_FORWARD: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a> = 0x115; // 277u32</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>See also <a href="constant.BTN_EXTRA.html" title="constant cosmic::cctk::sctk::seat::pointer::BTN_EXTRA"><code>BTN_EXTRA</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1 @@
<!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 `BTN_LEFT` constant in crate `cosmic`."><title>BTN_LEFT in cosmic::cctk::sctk::seat::pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer</a></div><h1>Constant <span class="constant">BTN_LEFT</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const BTN_LEFT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a> = 0x110; // 272u32</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span></section></div></main></body></html>

View file

@ -0,0 +1 @@
<!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 `BTN_MIDDLE` constant in crate `cosmic`."><title>BTN_MIDDLE in cosmic::cctk::sctk::seat::pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer</a></div><h1>Constant <span class="constant">BTN_MIDDLE</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const BTN_MIDDLE: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a> = 0x112; // 274u32</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span></section></div></main></body></html>

View file

@ -0,0 +1 @@
<!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 `BTN_RIGHT` constant in crate `cosmic`."><title>BTN_RIGHT in cosmic::cctk::sctk::seat::pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer</a></div><h1>Constant <span class="constant">BTN_RIGHT</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const BTN_RIGHT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a> = 0x111; // 273u32</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span></section></div></main></body></html>

View file

@ -0,0 +1,2 @@
<!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="The fourth non-scroll button, which is often used as “back” in web browsers."><title>BTN_SIDE in cosmic::cctk::sctk::seat::pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer</a></div><h1>Constant <span class="constant">BTN_SIDE</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const BTN_SIDE: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a> = 0x113; // 275u32</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The fourth non-scroll button, which is often used as “back” in web browsers.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1 @@
<!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 `BTN_TASK` constant in crate `cosmic`."><title>BTN_TASK in cosmic::cctk::sctk::seat::pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc constant"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer</a></div><h1>Constant <span class="constant">BTN_TASK</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub const BTN_TASK: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a> = 0x117; // 279u32</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span></section></div></main></body></html>

View file

@ -0,0 +1 @@
<!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 `cursor_shape` mod in crate `cosmic`."><title>cosmic::cctk::sctk::seat::pointer::cursor_shape - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../../" data-static-root-path="../../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module cursor_<wbr>shape</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../../index.html">cosmic</a>::<wbr><a href="../../../../index.html">cctk</a>::<wbr><a href="../../../index.html">sctk</a>::<wbr><a href="../../index.html">seat</a>::<wbr><a href="../index.html">pointer</a></div><h1>Module <span>cursor_shape</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.CursorShapeManager.html" title="struct cosmic::cctk::sctk::seat::pointer::cursor_shape::CursorShapeManager">Cursor<wbr>Shape<wbr>Manager</a></dt></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["CursorShapeManager"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"constant":["BTN_BACK","BTN_EXTRA","BTN_FORWARD","BTN_LEFT","BTN_MIDDLE","BTN_RIGHT","BTN_SIDE","BTN_TASK"],"enum":["CursorIcon","PointerEventKind","PointerThemeError","ThemeSpec"],"mod":["cursor_shape"],"struct":["AxisScroll","CursorIconParseError","PointerData","PointerEvent","ThemedPointer"],"trait":["PointerDataExt","PointerHandler"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,4 @@
<!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 `PointerDataExt` trait in crate `cosmic`."><title>PointerDataExt in cosmic::cctk::sctk::seat::pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Pointer<wbr>Data<wbr>Ext</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.pointer_data" title="pointer_data">pointer_data</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer</a></div><h1>Trait <span class="trait">PointerDataExt</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait PointerDataExt: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> {
// Required method
fn <a href="#tymethod.pointer_data" class="fn">pointer_data</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.PointerData.html" title="struct cosmic::cctk::sctk::seat::pointer::PointerData">PointerData</a>;
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.pointer_data" class="method"><h4 class="code-header">fn <a href="#tymethod.pointer_data" class="fn">pointer_data</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.PointerData.html" title="struct cosmic::cctk::sctk::seat::pointer::PointerData">PointerData</a></h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-PointerDataExt-for-PointerData" class="impl"><a href="#impl-PointerDataExt-for-PointerData" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PointerDataExt.html" title="trait cosmic::cctk::sctk::seat::pointer::PointerDataExt">PointerDataExt</a> for <a class="struct" href="struct.PointerData.html" title="struct cosmic::cctk::sctk::seat::pointer::PointerData">PointerData</a></h3></section></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/pointer/trait.PointerDataExt.js" data-ignore-extern-crates="smithay_client_toolkit" async></script></section></div></main></body></html>

View file

@ -0,0 +1,22 @@
<!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 `PointerHandler` trait in crate `cosmic`."><title>PointerHandler in cosmic::cctk::sctk::seat::pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Pointer<wbr>Handler</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.pointer_frame" title="pointer_frame">pointer_frame</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer</a></div><h1>Trait <span class="trait">PointerHandler</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait PointerHandler: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
// Required method
fn <a href="#tymethod.pointer_frame" class="fn">pointer_frame</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
events: &amp;[<a class="struct" href="struct.PointerEvent.html" title="struct cosmic::cctk::sctk::seat::pointer::PointerEvent">PointerEvent</a>],
);
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.pointer_frame" class="method"><h4 class="code-header">fn <a href="#tymethod.pointer_frame" class="fn">pointer_frame</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
events: &amp;[<a class="struct" href="struct.PointerEvent.html" title="struct cosmic::cctk::sctk::seat::pointer::PointerEvent">PointerEvent</a>],
)</h4></section></summary><div class="docblock"><p>One or more pointer events are available.</p>
<p>Multiple related events may be grouped together in a single frame. Some examples:</p>
<ul>
<li>A drag that terminates outside the surface may send the Release and Leave events as one frame</li>
<li>Movement from one surface to another may send the Enter and Leave events in one frame</li>
</ul>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/pointer/trait.PointerHandler.js" async></script></section></div></main></body></html>

View file

@ -0,0 +1 @@
<!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 `pointer_constraints` mod in crate `cosmic`."><title>cosmic::cctk::sctk::seat::pointer_constraints - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module pointer_<wbr>constraints</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a></div><h1>Module <span>pointer_constraints</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.PointerConstraintsState.html" title="struct cosmic::cctk::sctk::seat::pointer_constraints::PointerConstraintsState">Pointer<wbr>Constraints<wbr>State</a></dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.PointerConstraintsHandler.html" title="trait cosmic::cctk::sctk::seat::pointer_constraints::PointerConstraintsHandler">Pointer<wbr>Constraints<wbr>Handler</a></dt></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["PointerConstraintsState"],"trait":["PointerConstraintsHandler"]};

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,69 @@
<!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 `PointerConstraintsHandler` trait in crate `cosmic`."><title>PointerConstraintsHandler in cosmic::cctk::sctk::seat::pointer_constraints - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Pointer<wbr>Constraints<wbr>Handler</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.confined" title="confined">confined</a></li><li><a href="#tymethod.locked" title="locked">locked</a></li><li><a href="#tymethod.unconfined" title="unconfined">unconfined</a></li><li><a href="#tymethod.unlocked" title="unlocked">unlocked</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>pointer_<wbr>constraints</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">pointer_constraints</a></div><h1>Trait <span class="trait">PointerConstraintsHandler</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait PointerConstraintsHandler: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
// Required methods
fn <a href="#tymethod.confined" class="fn">confined</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
confined_pointer: &amp;<a class="struct" href="../../reexports/protocols/wp/pointer_constraints/zv1/client/zwp_confined_pointer_v1/struct.ZwpConfinedPointerV1.html" title="struct cosmic::cctk::sctk::reexports::protocols::wp::pointer_constraints::zv1::client::zwp_confined_pointer_v1::ZwpConfinedPointerV1">ZwpConfinedPointerV1</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.unconfined" class="fn">unconfined</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
confined_pointer: &amp;<a class="struct" href="../../reexports/protocols/wp/pointer_constraints/zv1/client/zwp_confined_pointer_v1/struct.ZwpConfinedPointerV1.html" title="struct cosmic::cctk::sctk::reexports::protocols::wp::pointer_constraints::zv1::client::zwp_confined_pointer_v1::ZwpConfinedPointerV1">ZwpConfinedPointerV1</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.locked" class="fn">locked</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
locked_pointer: &amp;<a class="struct" href="../../reexports/protocols/wp/pointer_constraints/zv1/client/zwp_locked_pointer_v1/struct.ZwpLockedPointerV1.html" title="struct cosmic::cctk::sctk::reexports::protocols::wp::pointer_constraints::zv1::client::zwp_locked_pointer_v1::ZwpLockedPointerV1">ZwpLockedPointerV1</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.unlocked" class="fn">unlocked</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
locked_pointer: &amp;<a class="struct" href="../../reexports/protocols/wp/pointer_constraints/zv1/client/zwp_locked_pointer_v1/struct.ZwpLockedPointerV1.html" title="struct cosmic::cctk::sctk::reexports::protocols::wp::pointer_constraints::zv1::client::zwp_locked_pointer_v1::ZwpLockedPointerV1">ZwpLockedPointerV1</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
);
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.confined" class="method"><h4 class="code-header">fn <a href="#tymethod.confined" class="fn">confined</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
confined_pointer: &amp;<a class="struct" href="../../reexports/protocols/wp/pointer_constraints/zv1/client/zwp_confined_pointer_v1/struct.ZwpConfinedPointerV1.html" title="struct cosmic::cctk::sctk::reexports::protocols::wp::pointer_constraints::zv1::client::zwp_confined_pointer_v1::ZwpConfinedPointerV1">ZwpConfinedPointerV1</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
)</h4></section></summary><div class="docblock"><p>Pointer confinement activated by compositor</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.unconfined" class="method"><h4 class="code-header">fn <a href="#tymethod.unconfined" class="fn">unconfined</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
confined_pointer: &amp;<a class="struct" href="../../reexports/protocols/wp/pointer_constraints/zv1/client/zwp_confined_pointer_v1/struct.ZwpConfinedPointerV1.html" title="struct cosmic::cctk::sctk::reexports::protocols::wp::pointer_constraints::zv1::client::zwp_confined_pointer_v1::ZwpConfinedPointerV1">ZwpConfinedPointerV1</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
)</h4></section></summary><div class="docblock"><p>Pointer confinement deactivated by compositor</p>
<p>For <code>Oneshot</code> constraints, it will not be reactivated.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.locked" class="method"><h4 class="code-header">fn <a href="#tymethod.locked" class="fn">locked</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
locked_pointer: &amp;<a class="struct" href="../../reexports/protocols/wp/pointer_constraints/zv1/client/zwp_locked_pointer_v1/struct.ZwpLockedPointerV1.html" title="struct cosmic::cctk::sctk::reexports::protocols::wp::pointer_constraints::zv1::client::zwp_locked_pointer_v1::ZwpLockedPointerV1">ZwpLockedPointerV1</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
)</h4></section></summary><div class="docblock"><p>Pointer lock activated by compositor</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.unlocked" class="method"><h4 class="code-header">fn <a href="#tymethod.unlocked" class="fn">unlocked</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
locked_pointer: &amp;<a class="struct" href="../../reexports/protocols/wp/pointer_constraints/zv1/client/zwp_locked_pointer_v1/struct.ZwpLockedPointerV1.html" title="struct cosmic::cctk::sctk::reexports::protocols::wp::pointer_constraints::zv1::client::zwp_locked_pointer_v1::ZwpLockedPointerV1">ZwpLockedPointerV1</a>,
surface: &amp;<a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
)</h4></section></summary><div class="docblock"><p>Pointer lock deactivated by compositor</p>
<p>For <code>Oneshot</code> constraints, it will not be reactivated.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/pointer_constraints/trait.PointerConstraintsHandler.js" async></script></section></div></main></body></html>

View file

@ -0,0 +1 @@
<!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 `relative_pointer` mod in crate `cosmic`."><title>cosmic::cctk::sctk::seat::relative_pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module relative_<wbr>pointer</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a></div><h1>Module <span>relative_pointer</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.RelativeMotionEvent.html" title="struct cosmic::cctk::sctk::seat::relative_pointer::RelativeMotionEvent">Relative<wbr>Motion<wbr>Event</a></dt><dt><a class="struct" href="struct.RelativePointerState.html" title="struct cosmic::cctk::sctk::seat::relative_pointer::RelativePointerState">Relative<wbr>Pointer<wbr>State</a></dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.RelativePointerHandler.html" title="trait cosmic::cctk::sctk::seat::relative_pointer::RelativePointerHandler">Relative<wbr>Pointer<wbr>Handler</a></dt></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["RelativeMotionEvent","RelativePointerState"],"trait":["RelativePointerHandler"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,18 @@
<!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 `RelativePointerHandler` trait in crate `cosmic`."><title>RelativePointerHandler in cosmic::cctk::sctk::seat::relative_pointer - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Relative<wbr>Pointer<wbr>Handler</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.relative_pointer_motion" title="relative_pointer_motion">relative_pointer_motion</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>relative_<wbr>pointer</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">relative_pointer</a></div><h1>Trait <span class="trait">RelativePointerHandler</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait RelativePointerHandler: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
// Required method
fn <a href="#tymethod.relative_pointer_motion" class="fn">relative_pointer_motion</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
relative_pointer: &amp;<a class="struct" href="../../reexports/protocols/wp/relative_pointer/zv1/client/zwp_relative_pointer_v1/struct.ZwpRelativePointerV1.html" title="struct cosmic::cctk::sctk::reexports::protocols::wp::relative_pointer::zv1::client::zwp_relative_pointer_v1::ZwpRelativePointerV1">ZwpRelativePointerV1</a>,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
event: <a class="struct" href="struct.RelativeMotionEvent.html" title="struct cosmic::cctk::sctk::seat::relative_pointer::RelativeMotionEvent">RelativeMotionEvent</a>,
);
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.relative_pointer_motion" class="method"><h4 class="code-header">fn <a href="#tymethod.relative_pointer_motion" class="fn">relative_pointer_motion</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
relative_pointer: &amp;<a class="struct" href="../../reexports/protocols/wp/relative_pointer/zv1/client/zwp_relative_pointer_v1/struct.ZwpRelativePointerV1.html" title="struct cosmic::cctk::sctk::reexports::protocols::wp::relative_pointer::zv1::client::zwp_relative_pointer_v1::ZwpRelativePointerV1">ZwpRelativePointerV1</a>,
pointer: &amp;<a class="struct" href="../../reexports/client/protocol/wl_pointer/struct.WlPointer.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_pointer::WlPointer">WlPointer</a>,
event: <a class="struct" href="struct.RelativeMotionEvent.html" title="struct cosmic::cctk::sctk::seat::relative_pointer::RelativeMotionEvent">RelativeMotionEvent</a>,
)</h4></section></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/relative_pointer/trait.RelativePointerHandler.js" async></script></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["Capability","SeatError"],"mod":["input_method","input_method_v3","keyboard","pointer","pointer_constraints","relative_pointer","touch"],"struct":["SeatData","SeatInfo","SeatState"],"trait":["SeatHandler"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
<!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 `touch` mod in crate `cosmic`."><title>cosmic::cctk::sctk::seat::touch - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module touch</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a></div><h1>Module <span>touch</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.TouchData.html" title="struct cosmic::cctk::sctk::seat::touch::TouchData">Touch<wbr>Data</a></dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.TouchDataExt.html" title="trait cosmic::cctk::sctk::seat::touch::TouchDataExt">Touch<wbr>Data<wbr>Ext</a></dt><dt><a class="trait" href="trait.TouchHandler.html" title="trait cosmic::cctk::sctk::seat::touch::TouchHandler">Touch<wbr>Handler</a></dt></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["TouchData"],"trait":["TouchDataExt","TouchHandler"]};

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,4 @@
<!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 `TouchDataExt` trait in crate `cosmic`."><title>TouchDataExt in cosmic::cctk::sctk::seat::touch - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Touch<wbr>Data<wbr>Ext</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.touch_data" title="touch_data">touch_data</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>touch</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">touch</a></div><h1>Trait <span class="trait">TouchDataExt</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait TouchDataExt: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> {
// Required method
fn <a href="#tymethod.touch_data" class="fn">touch_data</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.TouchData.html" title="struct cosmic::cctk::sctk::seat::touch::TouchData">TouchData</a>;
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.touch_data" class="method"><h4 class="code-header">fn <a href="#tymethod.touch_data" class="fn">touch_data</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.TouchData.html" title="struct cosmic::cctk::sctk::seat::touch::TouchData">TouchData</a></h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-TouchDataExt-for-TouchData" class="impl"><a href="#impl-TouchDataExt-for-TouchData" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TouchDataExt.html" title="trait cosmic::cctk::sctk::seat::touch::TouchDataExt">TouchDataExt</a> for <a class="struct" href="struct.TouchData.html" title="struct cosmic::cctk::sctk::seat::touch::TouchData">TouchData</a></h3></section></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/touch/trait.TouchDataExt.js" data-ignore-extern-crates="smithay_client_toolkit" async></script></section></div></main></body></html>

View file

@ -0,0 +1,117 @@
<!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 `TouchHandler` trait in crate `cosmic`."><title>TouchHandler in cosmic::cctk::sctk::seat::touch - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../../" data-static-root-path="../../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Touch<wbr>Handler</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.cancel" title="cancel">cancel</a></li><li><a href="#tymethod.down" title="down">down</a></li><li><a href="#tymethod.motion" title="motion">motion</a></li><li><a href="#tymethod.orientation" title="orientation">orientation</a></li><li><a href="#tymethod.shape" title="shape">shape</a></li><li><a href="#tymethod.up" title="up">up</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat::<wbr>touch</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../../index.html">cosmic</a>::<wbr><a href="../../../index.html">cctk</a>::<wbr><a href="../../index.html">sctk</a>::<wbr><a href="../index.html">seat</a>::<wbr><a href="index.html">touch</a></div><h1>Trait <span class="trait">TouchHandler</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait TouchHandler: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
// Required methods
fn <a href="#tymethod.down" class="fn">down</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
time: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
surface: <a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
position: (<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>),
);
<span class="item-spacer"></span> fn <a href="#tymethod.up" class="fn">up</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
time: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.motion" class="fn">motion</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
time: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
position: (<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>),
);
<span class="item-spacer"></span> fn <a href="#tymethod.shape" class="fn">shape</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
major: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>,
minor: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.orientation" class="fn">orientation</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
orientation: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.cancel" class="fn">cancel</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
);
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.down" class="method"><h4 class="code-header">fn <a href="#tymethod.down" class="fn">down</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
time: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
surface: <a class="struct" href="../../reexports/client/protocol/wl_surface/struct.WlSurface.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_surface::WlSurface">WlSurface</a>,
id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
position: (<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>),
)</h4></section></summary><div class="docblock"><p>New touch point.</p>
<p>Indicates a new touch point has appeared on the surface, starting a touch sequence. The ID
associated with this event identifies this touch point for devices with multi-touch and
will be referenced in future events.</p>
<p>The associated touch ID ceases to be valid after the touch up event with the associated ID
and may be reused for other touch points after that.</p>
<p>Coordinates are surface-local.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.up" class="method"><h4 class="code-header">fn <a href="#tymethod.up" class="fn">up</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
serial: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
time: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
)</h4></section></summary><div class="docblock"><p>End of touch sequence.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.motion" class="method"><h4 class="code-header">fn <a href="#tymethod.motion" class="fn">motion</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
time: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>,
id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
position: (<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>),
)</h4></section></summary><div class="docblock"><p>Touch point motion.</p>
<p>Coordinates are surface-local.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.shape" class="method"><h4 class="code-header">fn <a href="#tymethod.shape" class="fn">shape</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
major: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>,
minor: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>,
)</h4></section></summary><div class="docblock"><p>Touch point shape change.</p>
<p>The shape of a touch point is approximated by an ellipse through the major and minor axis
length. Major always represents the larger of the two axis and is orthogonal to minor.</p>
<p>The dimensions are specified in surface-local coordinates and the locations reported by
other events always report the center of the ellipse.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.orientation" class="method"><h4 class="code-header">fn <a href="#tymethod.orientation" class="fn">orientation</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>,
id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>,
orientation: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>,
)</h4></section></summary><div class="docblock"><p>Touch point shape orientation.</p>
<p>The orientation describes the clockwise angle of a touch points major axis to the positive
surface y-axis and is normalized to the -180° to +180° range.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.cancel" class="method"><h4 class="code-header">fn <a href="#tymethod.cancel" class="fn">cancel</a>(&amp;mut self, conn: &amp;<a class="struct" href="../../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>, qh: &amp;<a class="struct" href="../../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;, touch: &amp;<a class="struct" href="../../reexports/client/protocol/wl_touch/struct.WlTouch.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_touch::WlTouch">WlTouch</a>)</h4></section></summary><div class="docblock"><p>Cancel active touch sequence.</p>
<p>This indicates that the compositor has cancelled the active touch sequence, for example due
to detection of a touch gesture.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../../trait.impl/smithay_client_toolkit/seat/touch/trait.TouchHandler.js" async></script></section></div></main></body></html>

View file

@ -0,0 +1,56 @@
<!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 `SeatHandler` trait in crate `cosmic`."><title>SeatHandler in cosmic::cctk::sctk::seat - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Seat<wbr>Handler</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.new_capability" title="new_capability">new_capability</a></li><li><a href="#tymethod.new_seat" title="new_seat">new_seat</a></li><li><a href="#tymethod.remove_capability" title="remove_capability">remove_capability</a></li><li><a href="#tymethod.remove_seat" title="remove_seat">remove_seat</a></li><li><a href="#tymethod.seat_state" title="seat_state">seat_state</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>cctk::<wbr>sctk::<wbr>seat</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../index.html">cosmic</a>::<wbr><a href="../../index.html">cctk</a>::<wbr><a href="../index.html">sctk</a>::<wbr><a href="index.html">seat</a></div><h1>Trait <span class="trait">SeatHandler</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait SeatHandler: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
// Required methods
fn <a href="#tymethod.seat_state" class="fn">seat_state</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="struct.SeatState.html" title="struct cosmic::cctk::sctk::seat::SeatState">SeatState</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.new_seat" class="fn">new_seat</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
seat: <a class="struct" href="../reexports/client/protocol/wl_seat/struct.WlSeat.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_seat::WlSeat">WlSeat</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.new_capability" class="fn">new_capability</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
seat: <a class="struct" href="../reexports/client/protocol/wl_seat/struct.WlSeat.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_seat::WlSeat">WlSeat</a>,
capability: <a class="enum" href="enum.Capability.html" title="enum cosmic::cctk::sctk::seat::Capability">Capability</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.remove_capability" class="fn">remove_capability</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
seat: <a class="struct" href="../reexports/client/protocol/wl_seat/struct.WlSeat.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_seat::WlSeat">WlSeat</a>,
capability: <a class="enum" href="enum.Capability.html" title="enum cosmic::cctk::sctk::seat::Capability">Capability</a>,
);
<span class="item-spacer"></span> fn <a href="#tymethod.remove_seat" class="fn">remove_seat</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
seat: <a class="struct" href="../reexports/client/protocol/wl_seat/struct.WlSeat.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_seat::WlSeat">WlSeat</a>,
);
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux</strong> only.</div></span><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.seat_state" class="method"><h4 class="code-header">fn <a href="#tymethod.seat_state" class="fn">seat_state</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="struct.SeatState.html" title="struct cosmic::cctk::sctk::seat::SeatState">SeatState</a></h4></section><details class="toggle method-toggle" open><summary><section id="tymethod.new_seat" class="method"><h4 class="code-header">fn <a href="#tymethod.new_seat" class="fn">new_seat</a>(&amp;mut self, conn: &amp;<a class="struct" href="../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>, qh: &amp;<a class="struct" href="../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;, seat: <a class="struct" href="../reexports/client/protocol/wl_seat/struct.WlSeat.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_seat::WlSeat">WlSeat</a>)</h4></section></summary><div class="docblock"><p>A new seat has been created.</p>
<p>This function only indicates that a seat has been created, you will need to wait for <a href="trait.SeatHandler.html#tymethod.new_capability" title="method cosmic::cctk::sctk::seat::SeatHandler::new_capability"><code>new_capability</code></a>
to be called before creating any keyboards,</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.new_capability" class="method"><h4 class="code-header">fn <a href="#tymethod.new_capability" class="fn">new_capability</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
seat: <a class="struct" href="../reexports/client/protocol/wl_seat/struct.WlSeat.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_seat::WlSeat">WlSeat</a>,
capability: <a class="enum" href="enum.Capability.html" title="enum cosmic::cctk::sctk::seat::Capability">Capability</a>,
)</h4></section></summary><div class="docblock"><p>A new capability is available on the seat.</p>
<p>This allows you to create the corresponding object related to the capability.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.remove_capability" class="method"><h4 class="code-header">fn <a href="#tymethod.remove_capability" class="fn">remove_capability</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
seat: <a class="struct" href="../reexports/client/protocol/wl_seat/struct.WlSeat.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_seat::WlSeat">WlSeat</a>,
capability: <a class="enum" href="enum.Capability.html" title="enum cosmic::cctk::sctk::seat::Capability">Capability</a>,
)</h4></section></summary><div class="docblock"><p>A capability has been removed from the seat.</p>
<p>If an object has been created from the capability, it should be destroyed.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.remove_seat" class="method"><h4 class="code-header">fn <a href="#tymethod.remove_seat" class="fn">remove_seat</a>(
&amp;mut self,
conn: &amp;<a class="struct" href="../reexports/client/struct.Connection.html" title="struct cosmic::cctk::sctk::reexports::client::Connection">Connection</a>,
qh: &amp;<a class="struct" href="../reexports/client/struct.QueueHandle.html" title="struct cosmic::cctk::sctk::reexports::client::QueueHandle">QueueHandle</a>&lt;Self&gt;,
seat: <a class="struct" href="../reexports/client/protocol/wl_seat/struct.WlSeat.html" title="struct cosmic::cctk::sctk::reexports::client::protocol::wl_seat::WlSeat">WlSeat</a>,
)</h4></section></summary><div class="docblock"><p>A seat has been removed.</p>
<p>The seat is destroyed and all capability objects created from it are invalid.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../trait.impl/smithay_client_toolkit/seat/trait.SeatHandler.js" async></script></section></div></main></body></html>