1 2 3 4 5 6 7 8 9
use crate::paths::ID; use crate::thing::Thing; use crate::value::Value; impl Value { pub(crate) fn def(&mut self, val: &Thing) { self.put(ID.as_ref(), val.clone().into()) } }