pub enum PropValue {
Str(String),
Bool(bool),
Num(f64),
Callback(String),
Dataset(IndexMap<String, String>),
EventHandler(Rc<RefCell<dyn FnMut()>>),
}Variants§
Str(String)
Bool(bool)
Num(f64)
Callback(String)
Dataset(IndexMap<String, String>)
EventHandler(Rc<RefCell<dyn FnMut()>>)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PropValue
impl<'de> Deserialize<'de> for PropValue
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PropValue
impl !RefUnwindSafe for PropValue
impl !Send for PropValue
impl !Sync for PropValue
impl Unpin for PropValue
impl !UnwindSafe for PropValue
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