use super::*;
#[derive(Clone, Debug, Default, Getter)]
pub struct ImageBuffer {
#[get(type(copy))]
pub(crate) id: u64,
#[get(type(copy))]
pub(crate) width: u32,
#[get(type(copy))]
pub(crate) height: u32,
#[get(skip)]
pub(crate) pixels: Arc<[u8]>,
}
#[derive(Clone, Data, Debug, Default, Eq, New, PartialEq)]
pub struct InputNodeState {
pub(crate) value: String,
pub(crate) placeholder: String,
#[get(type(copy))]
pub(crate) caret: usize,
#[get(type(copy))]
pub(crate) password: bool,
#[get(type(copy))]
pub(crate) multiline: bool,
#[get(type(copy))]
pub(crate) disabled: bool,
}