Struct ndk_sys::DurationCode
source · #[repr(transparent)]pub struct DurationCode(pub c_uint);
Tuple Fields
0: c_uint
Implementations
sourceimpl DurationCode
impl DurationCode
pub const ANEURALNETWORKS_DURATION_ON_HARDWARE: DurationCode = _
sourceimpl DurationCode
impl DurationCode
pub const ANEURALNETWORKS_DURATION_IN_DRIVER: DurationCode = _
sourceimpl DurationCode
impl DurationCode
pub const ANEURALNETWORKS_FENCED_DURATION_ON_HARDWARE: DurationCode = _
sourceimpl DurationCode
impl DurationCode
pub const ANEURALNETWORKS_FENCED_DURATION_IN_DRIVER: DurationCode = _
Trait Implementations
sourceimpl Clone for DurationCode
impl Clone for DurationCode
sourcefn clone(&self) -> DurationCode
fn clone(&self) -> DurationCode
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 moresourceimpl Debug for DurationCode
impl Debug for DurationCode
sourceimpl Hash for DurationCode
impl Hash for DurationCode
sourceimpl PartialEq<DurationCode> for DurationCode
impl PartialEq<DurationCode> for DurationCode
sourcefn eq(&self, other: &DurationCode) -> bool
fn eq(&self, other: &DurationCode) -> bool
impl Copy for DurationCode
impl Eq for DurationCode
impl StructuralEq for DurationCode
impl StructuralPartialEq for DurationCode
Auto Trait Implementations
impl RefUnwindSafe for DurationCode
impl Send for DurationCode
impl Sync for DurationCode
impl Unpin for DurationCode
impl UnwindSafe for DurationCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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