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
Primitive(Primitive)
Serializable(Box<dyn Serializable>)
Tuple Fields
0: Box<dyn Serializable>