Struct ndk_sys::PreferenceCode
source · #[repr(transparent)]pub struct PreferenceCode(pub c_uint);
Tuple Fields
0: c_uint
Implementations
sourceimpl PreferenceCode
impl PreferenceCode
pub const ANEURALNETWORKS_PREFER_LOW_POWER: PreferenceCode = _
sourceimpl PreferenceCode
impl PreferenceCode
pub const ANEURALNETWORKS_PREFER_FAST_SINGLE_ANSWER: PreferenceCode = _
sourceimpl PreferenceCode
impl PreferenceCode
pub const ANEURALNETWORKS_PREFER_SUSTAINED_SPEED: PreferenceCode = _
Trait Implementations
sourceimpl Clone for PreferenceCode
impl Clone for PreferenceCode
sourcefn clone(&self) -> PreferenceCode
fn clone(&self) -> PreferenceCode
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 PreferenceCode
impl Debug for PreferenceCode
sourceimpl Hash for PreferenceCode
impl Hash for PreferenceCode
sourceimpl PartialEq<PreferenceCode> for PreferenceCode
impl PartialEq<PreferenceCode> for PreferenceCode
sourcefn eq(&self, other: &PreferenceCode) -> bool
fn eq(&self, other: &PreferenceCode) -> bool
impl Copy for PreferenceCode
impl Eq for PreferenceCode
impl StructuralEq for PreferenceCode
impl StructuralPartialEq for PreferenceCode
Auto Trait Implementations
impl RefUnwindSafe for PreferenceCode
impl Send for PreferenceCode
impl Sync for PreferenceCode
impl Unpin for PreferenceCode
impl UnwindSafe for PreferenceCode
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