Enum pyo3::buffer::ElementType
[−]
[src]
pub enum ElementType { SignedInteger { bytes: usize, }, UnsignedInteger { bytes: usize, }, Bool, Float { bytes: usize, }, Unknown, }
Variants
SignedInteger
Fields of SignedInteger
bytes: usize |
UnsignedInteger
Fields of UnsignedInteger
bytes: usize |
Bool
Float
Fields of Float
bytes: usize |
Unknown
Methods
impl ElementType
[src]
fn from_format(format: &CStr) -> ElementType
[src]
Trait Implementations
impl Copy for ElementType
[src]
impl Clone for ElementType
[src]
fn clone(&self) -> ElementType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for ElementType
[src]
impl PartialEq for ElementType
[src]
fn eq(&self, __arg_0: &ElementType) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ElementType) -> bool
[src]
This method tests for !=
.