pub enum Data {
Null,
String(String),
Bool(bool),
Vec(Vec<Data>),
Map(HashMap<String, Data>),
Fun(RefCell<Box<dyn FnMut(String) -> String + Send>>),
}
Variants§
Null
String(String)
Bool(bool)
Vec(Vec<Data>)
Map(HashMap<String, Data>)
Fun(RefCell<Box<dyn FnMut(String) -> String + Send>>)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Data
impl !RefUnwindSafe for Data
impl Send for Data
impl !Sync for Data
impl Unpin for Data
impl !UnwindSafe for Data
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more