Trait AsPythonLitteral

Source
pub trait AsPythonLitteral {
    // Required method
    fn fmt(&self, f: &mut Formatter<'_>) -> Result;
}

Required Methods§

Source

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Implementations on Foreign Types§

Source§

impl AsPythonLitteral for f32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for f64

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for i8

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for i16

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for i32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for i64

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for i128

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for isize

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for str

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for u8

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for u16

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for u32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for u64

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for u128

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for usize

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl AsPythonLitteral for String

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl<K: AsPythonLitteral, V: AsPythonLitteral> AsPythonLitteral for HashMap<K, V>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl<T: AsPythonLitteral> AsPythonLitteral for [T]

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Source§

impl<T: AsPythonLitteral> AsPythonLitteral for Vec<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Implementors§