pub struct HyprlandEvent {
pub name: String,
pub data: String,
}Expand description
One line from Hyprland’s event socket, such as workspacev2>>2,2,
as Quickshell’s HyprlandEvent.
Fields§
§name: StringWhat happened, such as workspacev2 or submap.
data: StringWhat Hyprland sent with it, such as 2,2: its fields joined by
commas.
Implementations§
Trait Implementations§
Source§impl Clone for HyprlandEvent
impl Clone for HyprlandEvent
Source§impl Debug for HyprlandEvent
impl Debug for HyprlandEvent
impl Eq for HyprlandEvent
Source§impl PartialEq for HyprlandEvent
impl PartialEq for HyprlandEvent
impl StructuralPartialEq for HyprlandEvent
Auto Trait Implementations§
impl Forget for HyprlandEvent
impl Freeze for HyprlandEvent
impl Move for HyprlandEvent
impl RefUnwindSafe for HyprlandEvent
impl Send for HyprlandEvent
impl Sync for HyprlandEvent
impl Unpin for HyprlandEvent
impl UnsafeUnpin for HyprlandEvent
impl UnwindSafe for HyprlandEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more