Struct ndk_sys::DurationCode
source · #[repr(transparent)]pub struct DurationCode(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
source§impl DurationCode
impl DurationCode
pub const ANEURALNETWORKS_DURATION_ON_HARDWARE: DurationCode = _
source§impl DurationCode
impl DurationCode
pub const ANEURALNETWORKS_DURATION_IN_DRIVER: DurationCode = _
source§impl DurationCode
impl DurationCode
pub const ANEURALNETWORKS_FENCED_DURATION_ON_HARDWARE: DurationCode = _
source§impl DurationCode
impl DurationCode
pub const ANEURALNETWORKS_FENCED_DURATION_IN_DRIVER: DurationCode = _
Trait Implementations§
source§impl Clone for DurationCode
impl Clone for DurationCode
source§fn clone(&self) -> DurationCode
fn clone(&self) -> DurationCode
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 DurationCode
impl Debug for DurationCode
source§impl Hash for DurationCode
impl Hash for DurationCode
source§impl PartialEq for DurationCode
impl PartialEq for DurationCode
source§fn eq(&self, other: &DurationCode) -> bool
fn eq(&self, other: &DurationCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DurationCode
impl Eq for DurationCode
impl StructuralPartialEq for DurationCode
Auto Trait Implementations§
impl Freeze for DurationCode
impl RefUnwindSafe for DurationCode
impl Send for DurationCode
impl Sync for DurationCode
impl Unpin for DurationCode
impl UnwindSafe for DurationCode
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