use alloc::{vec, vec::Vec}; use spin::{Lazy, Mutex}; pub struct Object { pub header: ObjectHeader, pub special: ObjectSpecial, } pub struct ObjectHeader {} pub enum ObjectSpecial { Xml(xml::XMLElement), } pub type HostObjects = Vec>; pub const OBJECTS: Lazy> = Lazy::new(|| { let mut obj = vec![]; Mutex::new(obj) });