diff options
author | tcmal <me@aria.rip> | 2024-06-21 22:13:45 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-06-21 22:13:45 +0100 |
commit | 210ea31e39370336464fec76368aa77bf0411681 (patch) | |
tree | 68288fd85ed0e3da6d4bab8b1b52465ce39ea6f4 /src/conn_info/mod.rs | |
parent | 1c893ed1ff1dc26f4dcc425e756d56f752142ebd (diff) |
documentation cleanup
Diffstat (limited to 'src/conn_info/mod.rs')
-rw-r--r-- | src/conn_info/mod.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/conn_info/mod.rs b/src/conn_info/mod.rs index 183f691..c1d768d 100644 --- a/src/conn_info/mod.rs +++ b/src/conn_info/mod.rs @@ -1,3 +1,5 @@ +//! Global resources and utilities + use std::fmt::Debug; use xcb::{ x::{ @@ -7,9 +9,13 @@ use xcb::{ Connection as RawConnection, Cookie, VoidCookieChecked, }; +#[doc(hidden)] mod atoms; +#[doc(hidden)] mod colours; +#[doc(hidden)] mod cursors; +#[doc(hidden)] mod keys; pub use self::{ @@ -49,6 +55,7 @@ pub struct Connection<'a> { pub keyboard_state: KeyboardInfo, } +/// Helper macro to log a request / cookie when debug_assertions are on macro_rules! debug_req { ($req:ident) => { #[cfg(debug_assertions)] |