Module shared
Expand description
This module provides shared things throughout the crate
§The Shared Module
This module provides shared private and public functions, structs, enum, and types
Macros§
- command
- Creates a
CommandContent
instance with the given flag and formatted data.
Structs§
- Address
- The address struct holds a address as a tuple with a single value and has methods to reveal the address in different data formats
- Command
Content - This struct defines the content of a command, which consists of a flag and a data string.
Enums§
- Command
Flag - This enum defines the possible command flags that can be used.
- Hypr
Error - Error that unifies different error types used by Hyprland-rs
- Workspace
Type - This enum holds workspace data
Traits§
- Hypr
Data - This trait provides a standardized way to get data
- Hypr
Data Active - Trait for helper functions to get the active of the implementor
- Hypr
Data Active Optional - Trait for helper functions to get the active of the implementor, but for optional ones
- Hypr
Data Vec - This trait provides a standardized way to get data in a from of a vector
Type Aliases§
- Monitor
Id - This type provides the id used to identify monitors
- Workspace
Id - This type provides the id used to identify workspaces