Struct ndk_sys::DeviceTypeCode
source · #[repr(transparent)]pub struct DeviceTypeCode(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
source§impl DeviceTypeCode
impl DeviceTypeCode
pub const ANEURALNETWORKS_DEVICE_UNKNOWN: DeviceTypeCode = _
source§impl DeviceTypeCode
impl DeviceTypeCode
pub const ANEURALNETWORKS_DEVICE_OTHER: DeviceTypeCode = _
source§impl DeviceTypeCode
impl DeviceTypeCode
pub const ANEURALNETWORKS_DEVICE_CPU: DeviceTypeCode = _
source§impl DeviceTypeCode
impl DeviceTypeCode
pub const ANEURALNETWORKS_DEVICE_GPU: DeviceTypeCode = _
source§impl DeviceTypeCode
impl DeviceTypeCode
pub const ANEURALNETWORKS_DEVICE_ACCELERATOR: DeviceTypeCode = _
Trait Implementations§
source§impl Clone for DeviceTypeCode
impl Clone for DeviceTypeCode
source§fn clone(&self) -> DeviceTypeCode
fn clone(&self) -> DeviceTypeCode
Returns a copy of the value. Read more
1.0.0 · 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 DeviceTypeCode
impl Debug for DeviceTypeCode
source§impl Hash for DeviceTypeCode
impl Hash for DeviceTypeCode
source§impl PartialEq for DeviceTypeCode
impl PartialEq for DeviceTypeCode
source§fn eq(&self, other: &DeviceTypeCode) -> bool
fn eq(&self, other: &DeviceTypeCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DeviceTypeCode
impl Eq for DeviceTypeCode
impl StructuralPartialEq for DeviceTypeCode
Auto Trait Implementations§
impl Freeze for DeviceTypeCode
impl RefUnwindSafe for DeviceTypeCode
impl Send for DeviceTypeCode
impl Sync for DeviceTypeCode
impl Unpin for DeviceTypeCode
impl UnwindSafe for DeviceTypeCode
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