pub trait ValueTypeOptional:
ValueType
+ ToValueOptional
+ FromValueOptional<'static>
+ StaticType { }
Expand description
A type that can be stored in Value
s and is optional.
These are types were storing an Option
is valid. Examples are String
and all object types.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.