Enum serde_v8::SerializablePkg [−][src]
pub enum SerializablePkg { Primitive(Primitive), Serializable(Box<dyn Serializable>), }
Expand description
SerializablePkg exists to provide a fast path for op returns, allowing them to avoid boxing primtives (ints/floats/bool/unit/…)
Variants
Tuple Fields of Serializable
0: Box<dyn Serializable>