pub trait ToPaxValue {
// Required method
fn to_pax_value(self) -> PaxValue;
}Expand description
Converts a Rust value into its built-in PaxValue representation.
This is exact conversion, not coercion; coercion is handled separately by
CoercionRules.
Required Methods§
Sourcefn to_pax_value(self) -> PaxValue
fn to_pax_value(self) -> PaxValue
Converts this value into a PaxValue.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".