pub trait ToPythonName {
// Required method
fn python_name(&self) -> &'static str;
}Required Methods§
Sourcefn python_name(&self) -> &'static str
fn python_name(&self) -> &'static str
Returns a short name for the node suitable for use in error messages.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".