pub trait PythonStrExt {
    // Required methods
    fn is_python_keyword(&self) -> bool;
    fn is_python_soft_keyword(&self) -> bool;
    fn is_python_operator(&self) -> bool;
    fn is_python_delimiter(&self) -> bool;
}
Expand description

str extension for checking if a &str is e.g. a Python keyword.

Required Methods§

Implementations on Foreign Types§

source§

impl PythonStrExt for str

Implementors§