zenthra-core 0.2.2

Core types, layouts, and data structures for the Zenthra UI framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// crates/zenthra-core/src/response.rs

#[derive(Debug, Clone, Copy, Default)]
pub struct Response {
    pub clicked: bool,
    pub hovered: bool,
    pub pressed: bool,
}

impl Response {
    pub fn new() -> Self {
        Self::default()
    }
}