SYMBOL INDEX (85 symbols across 11 files) FILE: src/color.rs type Color (line 7) | pub struct Color { constant TRANSPARENT (line 15) | pub const TRANSPARENT: Self = Self { method apply (line 22) | pub fn apply(self, cr: &Context) { method from_rgba (line 30) | pub fn from_rgba(r: u8, g: u8, b: u8, a: u8) -> Self { method from_rgba_hex (line 39) | pub fn from_rgba_hex(hex: u32) -> Self { method deserialize (line 68) | fn deserialize(deserializer: D) -> Result type Err (line 49) | type Err = (); method from_str (line 51) | fn from_str(color: &str) -> Result { FILE: src/config.rs type Config (line 23) | pub struct Config { method new (line 59) | pub fn new(name: &str) -> Result { method padding (line 87) | pub fn padding(&self) -> f64 { method column_padding (line 91) | pub fn column_padding(&self) -> f64 { function config_dir (line 96) | fn config_dir() -> Option { FILE: src/config/anchor.rs type ConfigAnchor (line 9) | pub enum ConfigAnchor { method from (line 24) | fn from(value: ConfigAnchor) -> Self { FILE: src/config/compat.rs type Entries (line 12) | pub struct Entries(pub IndexMap); type Config (line 16) | pub struct Config { type Entry (line 46) | pub enum Entry { function from (line 60) | fn from(value: Config) -> Self { FILE: src/config/entry.rs type Entry (line 8) | pub enum Entry { type Error (line 33) | type Error = anyhow::Error; method try_from (line 35) | fn try_from(value: RawEntry) -> Result { type RawEntry (line 24) | struct RawEntry { FILE: src/config/font.rs type Font (line 6) | pub struct Font(pub FontDescription); method new (line 9) | pub fn new(desc: &str) -> Self { method deserialize (line 15) | fn deserialize(deserializer: D) -> Result FILE: src/config/namespace.rs type Namespace (line 9) | pub struct Namespace(pub CString); method new (line 12) | pub fn new(namespace: CString) -> Self { method deserialize (line 26) | fn deserialize(deserializer: D) -> Result type Err (line 18) | type Err = NulError; method from_str (line 20) | fn from_str(s: &str) -> Result { FILE: src/key.rs type Key (line 8) | pub struct Key { method matches (line 37) | pub fn matches(&self, sym: xkb::Keysym, modifiers: ModifierState) -> b... method fmt (line 45) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 57) | fn from(value: SingleKey) -> Self { method deserialize (line 120) | fn deserialize(deserializer: D) -> Result type ModifierState (line 13) | pub struct ModifierState { method from_xkb_state (line 20) | pub fn from_xkb_state(xkb: &xkb::State) -> Self { type SingleKey (line 30) | pub struct SingleKey { method deserialize (line 157) | fn deserialize(deserializer: D) -> Result type Err (line 65) | type Err = String; method from_str (line 67) | fn from_str(s: &str) -> Result { function to_keysym (line 102) | fn to_keysym(s: &str) -> Option { FILE: src/main.rs type Args (line 36) | struct Args { function main (line 58) | fn main() -> anyhow::Result<()> { type State (line 170) | struct State { method draw (line 201) | fn draw(&mut self, conn: &mut Connection) { method handle_action (line 319) | fn handle_action(&mut self, conn: &mut Connection, action: menu:... type Output (line 194) | struct Output { method get_seats (line 344) | fn get_seats(&mut self) -> &mut Seats { method seat_added (line 348) | fn seat_added(&mut self, conn: &mut Connection, seat: WlSeat) { method seat_removed (line 357) | fn seat_removed(&mut self, conn: &mut Connection, seat: WlSeat) { method keyboard_added (line 363) | fn keyboard_added(&mut self, conn: &mut Connection, seat: WlSeat) { method keyboard_removed (line 367) | fn keyboard_removed(&mut self, conn: &mut Connection, seat: WlSeat) { method get_keyboard (line 379) | fn get_keyboard(&mut self, wl_keyboard: WlKeyboard) -> &mut Keyboard { method key_presed (line 386) | fn key_presed(&mut self, conn: &mut Connection, event: KeyboardEve... method key_released (line 418) | fn key_released(&mut self, _: &mut Connection, _: KeyboardEvent) { function wl_registry_cb (line 423) | fn wl_registry_cb(conn: &mut Connection, state: &mut State, event... function wl_output_cb (line 445) | fn wl_output_cb(ctx: EventCtx) { function wl_surface_cb (line 461) | fn wl_surface_cb(ctx: EventCtx) { function layer_surface_cb (line 483) | fn layer_surface_cb(ctx: EventCtx) { function poll (line 505) | fn poll(fd: RawFd, timeout: Option) -> io::Result<()> { function exec (line 524) | fn exec(cmd: &str) { type XkbMaskState (line 540) | struct XkbMaskState { method new (line 550) | fn new(xkb_state: &xkb::State) -> Self { method with_locked_layout (line 561) | fn with_locked_layout(&self, locked_layout: u32) -> Self { method apply (line 568) | fn apply(&self, xkb_state: &xkb::State) { FILE: src/menu.rs type Menu (line 13) | pub struct Menu { method new (line 46) | pub fn new(config: &Config) -> Result { method push_page (line 62) | fn push_page( method width (line 138) | pub fn width(&self, config: &Config) -> f64 { method height (line 148) | pub fn height(&self, config: &Config) -> f64 { method render (line 158) | pub fn render(&self, config: &config::Config, cairo_ctx: &cairo::Conte... method render_column (line 172) | fn render_column( method get_action (line 226) | pub fn get_action(&self, modifiers: ModifierState, sym: xkb::Keysym) -... method set_page (line 256) | pub fn set_page(&mut self, page: usize) { method navigate_to_key_sequence (line 260) | pub fn navigate_to_key_sequence(&mut self, key_sequence: &str) -> Resu... type MenuPage (line 19) | struct MenuPage { type MenuColumn (line 25) | struct MenuColumn { type MenuItem (line 31) | struct MenuItem { type Action (line 39) | pub enum Action { FILE: src/text.rs type RenderOptions (line 7) | pub struct RenderOptions { type ComputedText (line 15) | pub struct ComputedText { method new (line 22) | pub fn new(text: impl AsRef, context: &pango::Context, font: &Fon... method render (line 36) | pub fn render(&self, context: &cairo::Context, options: RenderOptions)...