pub trait ToLean { }Expand description
A Rust value that has a Lean counterpart: the conversion into the Lean object.
Implemented for the types that can appear in the signature of a generated function. The
Lean type is determined by the Rust type: u32 is UInt32, &str and String are
String, slices and Vec<T> are Array, Option<T> is Option, pairs are Prod.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".