#[repr(i32)]pub enum ArrowDeviceType {
Cpu = 1,
Cuda = 2,
}Expand description
Arrow device type codes used by the C Device Data Interface.
Variants§
Cpu = 1
Host CPU memory.
Cuda = 2
CUDA device memory (recognized but not exported by this crate yet).
Trait Implementations§
Source§impl Clone for ArrowDeviceType
impl Clone for ArrowDeviceType
Source§fn clone(&self) -> ArrowDeviceType
fn clone(&self) -> ArrowDeviceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArrowDeviceType
impl Debug for ArrowDeviceType
Source§impl Hash for ArrowDeviceType
impl Hash for ArrowDeviceType
Source§impl PartialEq for ArrowDeviceType
impl PartialEq for ArrowDeviceType
Source§fn eq(&self, other: &ArrowDeviceType) -> bool
fn eq(&self, other: &ArrowDeviceType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArrowDeviceType
impl Eq for ArrowDeviceType
impl StructuralPartialEq for ArrowDeviceType
Auto Trait Implementations§
impl Freeze for ArrowDeviceType
impl RefUnwindSafe for ArrowDeviceType
impl Send for ArrowDeviceType
impl Sync for ArrowDeviceType
impl Unpin for ArrowDeviceType
impl UnsafeUnpin for ArrowDeviceType
impl UnwindSafe for ArrowDeviceType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more