Trait pyo3::buffer::Element [−][src]
pub unsafe trait Element: Copy {
fn is_compatible_format(format: &CStr) -> bool;
}
This is supported on non-
Py_LIMITED_API
only.Expand description
Trait implemented for possible element types of PyBuffer
.
Required methods
fn is_compatible_format(format: &CStr) -> bool
fn is_compatible_format(format: &CStr) -> bool
Gets whether the element specified in the format string is potentially compatible. Alignment and size are checked separately from this function.
Implementations on Foreign Types
This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.This is supported on non-
Py_LIMITED_API
only.