Skip to main content

ToPythonName

Trait ToPythonName 

Source
pub trait ToPythonName {
    // Required method
    fn python_name(&self) -> &'static str;
}

Required Methods§

Source

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".

Implementations on Foreign Types§

Source§

impl ToPythonName for Expr

Source§

fn python_name(&self) -> &'static str

Implementors§