pub trait _Object {
// Required methods
fn __repr__(&self) -> String;
fn __str__(&self) -> String;
}Expand description
the supreme _Object trait that its derived types should implement like all the functions from python
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".