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