2023-04-26 19:33:40 +00:00
|
|
|
use {
|
|
|
|
alloc::vec::Vec,
|
|
|
|
spin::{Lazy, Mutex},
|
|
|
|
};
|
2023-04-12 18:08:07 +00:00
|
|
|
|
2023-04-26 19:33:40 +00:00
|
|
|
// Seperate use statement
|
|
|
|
use alloc::vec;
|
2023-04-12 18:08:07 +00:00
|
|
|
|
|
|
|
pub type HostObjects = Vec<Option<xml::XMLElement>>;
|
|
|
|
|
|
|
|
pub const OBJECTS: Lazy<Mutex<HostObjects>> = Lazy::new(|| {
|
|
|
|
let mut obj = vec![];
|
|
|
|
Mutex::new(obj)
|
|
|
|
});
|