Struct ndk_sys::DeviceTypeCode
source · [−]#[repr(transparent)]pub struct DeviceTypeCode(pub c_uint);Tuple Fields
0: c_uintImplementations
sourceimpl DeviceTypeCode
impl DeviceTypeCode
pub const ANEURALNETWORKS_DEVICE_UNKNOWN: DeviceTypeCode = _
sourceimpl DeviceTypeCode
impl DeviceTypeCode
pub const ANEURALNETWORKS_DEVICE_OTHER: DeviceTypeCode = _
sourceimpl DeviceTypeCode
impl DeviceTypeCode
pub const ANEURALNETWORKS_DEVICE_CPU: DeviceTypeCode = _
sourceimpl DeviceTypeCode
impl DeviceTypeCode
pub const ANEURALNETWORKS_DEVICE_GPU: DeviceTypeCode = _
sourceimpl DeviceTypeCode
impl DeviceTypeCode
pub const ANEURALNETWORKS_DEVICE_ACCELERATOR: DeviceTypeCode = _
Trait Implementations
sourceimpl Clone for DeviceTypeCode
impl Clone for DeviceTypeCode
sourcefn clone(&self) -> DeviceTypeCode
fn clone(&self) -> DeviceTypeCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DeviceTypeCode
impl Debug for DeviceTypeCode
sourceimpl Hash for DeviceTypeCode
impl Hash for DeviceTypeCode
sourceimpl PartialEq<DeviceTypeCode> for DeviceTypeCode
impl PartialEq<DeviceTypeCode> for DeviceTypeCode
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &DeviceTypeCode) -> bool
fn ne(&self, other: &DeviceTypeCode) -> bool
This method tests for !=.
impl Copy for DeviceTypeCode
impl Eq for DeviceTypeCode
impl StructuralEq for DeviceTypeCode
impl StructuralPartialEq for DeviceTypeCode
Auto Trait Implementations
impl RefUnwindSafe for DeviceTypeCode
impl Send for DeviceTypeCode
impl Sync for DeviceTypeCode
impl Unpin for DeviceTypeCode
impl UnwindSafe for DeviceTypeCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more