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]
impl ElementType
pub fn from_format(format: &CStr) -> ElementType
[src]
pub fn from_format(format: &CStr) -> ElementType
Trait Implementations
impl Copy for ElementType
[src]
impl Copy for ElementType
impl Clone for ElementType
[src]
impl Clone for ElementType
fn clone(&self) -> ElementType
[src]
fn clone(&self) -> ElementType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for ElementType
[src]
impl Eq for ElementType
impl PartialEq for ElementType
[src]
impl PartialEq for ElementType
fn eq(&self, other: &ElementType) -> bool
[src]
fn eq(&self, other: &ElementType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ElementType) -> bool
[src]
fn ne(&self, other: &ElementType) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ElementType
impl Send for ElementType
impl Sync for ElementType
impl Sync for ElementType