1 line
No EOL
10 KiB
HTML
1 line
No EOL
10 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `cosmic` crate."><title>cosmic::cctk::sctk - 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="../../../crates.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 crate"><!--[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"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#macros" title="Macros">Macros</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>cctk</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></div><h1>Crate <span>sctk</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="activation/index.html" title="mod cosmic::cctk::sctk::activation">activation</a></dt><dt><a class="mod" href="compositor/index.html" title="mod cosmic::cctk::sctk::compositor">compositor</a></dt><dt><a class="mod" href="data_device_manager/index.html" title="mod cosmic::cctk::sctk::data_device_manager">data_<wbr>device_<wbr>manager</a></dt><dt><a class="mod" href="dmabuf/index.html" title="mod cosmic::cctk::sctk::dmabuf">dmabuf</a></dt><dt><a class="mod" href="error/index.html" title="mod cosmic::cctk::sctk::error">error</a></dt><dt><a class="mod" href="foreign_toplevel_list/index.html" title="mod cosmic::cctk::sctk::foreign_toplevel_list">foreign_<wbr>toplevel_<wbr>list</a></dt><dt><a class="mod" href="globals/index.html" title="mod cosmic::cctk::sctk::globals">globals</a></dt><dt><a class="mod" href="output/index.html" title="mod cosmic::cctk::sctk::output">output</a></dt><dt><a class="mod" href="presentation_time/index.html" title="mod cosmic::cctk::sctk::presentation_time">presentation_<wbr>time</a></dt><dt><a class="mod" href="primary_selection/index.html" title="mod cosmic::cctk::sctk::primary_selection">primary_<wbr>selection</a></dt><dt><a class="mod" href="reexports/index.html" title="mod cosmic::cctk::sctk::reexports">reexports</a></dt><dd>Re-exports of some crates, for convenience.</dd><dt><a class="mod" href="registry/index.html" title="mod cosmic::cctk::sctk::registry">registry</a></dt><dd>Utilities for binding globals with <a href="reexports/client/protocol/wl_registry/index.html" title="mod cosmic::cctk::sctk::reexports::client::protocol::wl_registry"><code>wl_registry</code></a> in delegates.</dd><dt><a class="mod" href="seat/index.html" title="mod cosmic::cctk::sctk::seat">seat</a></dt><dt><a class="mod" href="session_lock/index.html" title="mod cosmic::cctk::sctk::session_lock">session_<wbr>lock</a></dt><dt><a class="mod" href="shell/index.html" title="mod cosmic::cctk::sctk::shell">shell</a></dt><dd>Shell abstractions</dd><dt><a class="mod" href="shm/index.html" title="mod cosmic::cctk::sctk::shm">shm</a></dt><dt><a class="mod" href="subcompositor/index.html" title="mod cosmic::cctk::sctk::subcompositor">subcompositor</a></dt></dl><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.delegate_activation.html" title="macro cosmic::cctk::sctk::delegate_activation">delegate_<wbr>activation</a></dt><dt><a class="macro" href="macro.delegate_compositor.html" title="macro cosmic::cctk::sctk::delegate_compositor">delegate_<wbr>compositor</a></dt><dt><a class="macro" href="macro.delegate_data_device.html" title="macro cosmic::cctk::sctk::delegate_data_device">delegate_<wbr>data_<wbr>device</a></dt><dt><a class="macro" href="macro.delegate_dmabuf.html" title="macro cosmic::cctk::sctk::delegate_dmabuf">delegate_<wbr>dmabuf</a></dt><dt><a class="macro" href="macro.delegate_foreign_toplevel_list.html" title="macro cosmic::cctk::sctk::delegate_foreign_toplevel_list">delegate_<wbr>foreign_<wbr>toplevel_<wbr>list</a></dt><dt><a class="macro" href="macro.delegate_input_method.html" title="macro cosmic::cctk::sctk::delegate_input_method">delegate_<wbr>input_<wbr>method</a></dt><dt><a class="macro" href="macro.delegate_input_method_v3.html" title="macro cosmic::cctk::sctk::delegate_input_method_v3">delegate_<wbr>input_<wbr>method_<wbr>v3</a></dt><dt><a class="macro" href="macro.delegate_keyboard.html" title="macro cosmic::cctk::sctk::delegate_keyboard">delegate_<wbr>keyboard</a></dt><dt><a class="macro" href="macro.delegate_layer.html" title="macro cosmic::cctk::sctk::delegate_layer">delegate_<wbr>layer</a></dt><dt><a class="macro" href="macro.delegate_output.html" title="macro cosmic::cctk::sctk::delegate_output">delegate_<wbr>output</a></dt><dt><a class="macro" href="macro.delegate_pointer.html" title="macro cosmic::cctk::sctk::delegate_pointer">delegate_<wbr>pointer</a></dt><dt><a class="macro" href="macro.delegate_pointer_constraints.html" title="macro cosmic::cctk::sctk::delegate_pointer_constraints">delegate_<wbr>pointer_<wbr>constraints</a></dt><dt><a class="macro" href="macro.delegate_presentation_time.html" title="macro cosmic::cctk::sctk::delegate_presentation_time">delegate_<wbr>presentation_<wbr>time</a></dt><dt><a class="macro" href="macro.delegate_primary_selection.html" title="macro cosmic::cctk::sctk::delegate_primary_selection">delegate_<wbr>primary_<wbr>selection</a></dt><dt><a class="macro" href="macro.delegate_registry.html" title="macro cosmic::cctk::sctk::delegate_registry">delegate_<wbr>registry</a></dt><dd>Delegates the handling of <a href="reexports/client/protocol/wl_registry/index.html" title="mod cosmic::cctk::sctk::reexports::client::protocol::wl_registry"><code>wl_registry</code></a>.</dd><dt><a class="macro" href="macro.delegate_relative_pointer.html" title="macro cosmic::cctk::sctk::delegate_relative_pointer">delegate_<wbr>relative_<wbr>pointer</a></dt><dt><a class="macro" href="macro.delegate_seat.html" title="macro cosmic::cctk::sctk::delegate_seat">delegate_<wbr>seat</a></dt><dt><a class="macro" href="macro.delegate_session_lock.html" title="macro cosmic::cctk::sctk::delegate_session_lock">delegate_<wbr>session_<wbr>lock</a></dt><dt><a class="macro" href="macro.delegate_shm.html" title="macro cosmic::cctk::sctk::delegate_shm">delegate_<wbr>shm</a></dt><dd>Delegates the handling of <a href="reexports/client/protocol/wl_shm/index.html" title="mod cosmic::cctk::sctk::reexports::client::protocol::wl_shm"><code>wl_shm</code></a> to some <a href="shm/struct.Shm.html" title="struct cosmic::cctk::sctk::shm::Shm"><code>Shm</code></a>.</dd><dt><a class="macro" href="macro.delegate_simple.html" title="macro cosmic::cctk::sctk::delegate_simple">delegate_<wbr>simple</a></dt><dt><a class="macro" href="macro.delegate_subcompositor.html" title="macro cosmic::cctk::sctk::delegate_subcompositor">delegate_<wbr>subcompositor</a></dt><dt><a class="macro" href="macro.delegate_touch.html" title="macro cosmic::cctk::sctk::delegate_touch">delegate_<wbr>touch</a></dt><dt><a class="macro" href="macro.delegate_xdg_popup.html" title="macro cosmic::cctk::sctk::delegate_xdg_popup">delegate_<wbr>xdg_<wbr>popup</a></dt><dt><a class="macro" href="macro.delegate_xdg_shell.html" title="macro cosmic::cctk::sctk::delegate_xdg_shell">delegate_<wbr>xdg_<wbr>shell</a></dt><dt><a class="macro" href="macro.delegate_xdg_window.html" title="macro cosmic::cctk::sctk::delegate_xdg_window">delegate_<wbr>xdg_<wbr>window</a></dt><dt><a class="macro" href="macro.registry_handlers.html" title="macro cosmic::cctk::sctk::registry_handlers">registry_<wbr>handlers</a></dt><dd>A helper macro for implementing <a href="registry/trait.ProvidesRegistryState.html" title="trait cosmic::cctk::sctk::registry::ProvidesRegistryState"><code>ProvidesRegistryState</code></a>.</dd></dl></section></div></main></body></html> |