python-objects 0.0.7

rust crate that implements the architecture of the CPython objects. with this crate you can crate a list with any data type from rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::any::type_name;


fn type_of<T>(_: T) -> &'static str {
    type_name::<T>()
}

fn main() {
    let x = String::from("asd");
    println!("{}", type_of(x));
}