matplotlib

Trait AsPy

source
pub trait AsPy {
    // Required method
    fn as_py(&self) -> String;
}
Expand description

Convert a Rust value to a Python source code string.

Required Methods§

source

fn as_py(&self) -> String

Implementations on Foreign Types§

source§

impl AsPy for &str

source§

fn as_py(&self) -> String

source§

impl AsPy for bool

source§

fn as_py(&self) -> String

source§

impl AsPy for f64

source§

fn as_py(&self) -> String

source§

impl AsPy for i32

source§

fn as_py(&self) -> String

source§

impl AsPy for String

source§

fn as_py(&self) -> String

source§

impl AsPy for Vec<Opt>

source§

fn as_py(&self) -> String

Implementors§