wip
This commit is contained in:
12
lib/src/layer.rs
Normal file
12
lib/src/layer.rs
Normal file
@ -0,0 +1,12 @@
|
||||
use alloc::vec::Vec;
|
||||
use msgpck::{MsgPack, MsgUnpack};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::button::Button;
|
||||
|
||||
#[derive(Default, Debug, Serialize, Deserialize, Clone, MsgPack, MsgUnpack)]
|
||||
pub struct Layer {
|
||||
pub buttons: Vec<Button>,
|
||||
}
|
||||
|
||||
pub type Layers = Vec<Vec<Layer>>;
|
||||
Reference in New Issue
Block a user