We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0bf63d commit bda5de9Copy full SHA for bda5de9
src/array.rs
@@ -75,7 +75,6 @@ use crate::types::Element;
75
/// array![[8., 15.], [12., 23.]]
76
/// );
77
/// ```
78
-#[derive(Debug)]
79
pub struct PyArray<T, D>(PyAny, PhantomData<T>, PhantomData<D>);
80
81
/// One-dimensional array.
@@ -111,6 +110,7 @@ pyobject_native_type_convert!(
111
110
);
112
113
pyobject_native_type_named!(PyArray<T, D>, T, D);
+pyobject_native_type_fmt!(PyArray<T, D>, T, D);
114
115
impl<'a, T, D> std::convert::From<&'a PyArray<T, D>> for &'a PyAny {
116
fn from(ob: &'a PyArray<T, D>) -> Self {
0 commit comments