Struct ndk_sys::PriorityCode
source · [−]#[repr(transparent)]pub struct PriorityCode(pub c_uint);
Tuple Fields
0: c_uint
Implementations
sourceimpl PriorityCode
impl PriorityCode
pub const ANEURALNETWORKS_PRIORITY_LOW: PriorityCode = _
sourceimpl PriorityCode
impl PriorityCode
pub const ANEURALNETWORKS_PRIORITY_MEDIUM: PriorityCode = _
sourceimpl PriorityCode
impl PriorityCode
pub const ANEURALNETWORKS_PRIORITY_HIGH: PriorityCode = _
sourceimpl PriorityCode
impl PriorityCode
pub const ANEURALNETWORKS_PRIORITY_DEFAULT: PriorityCode = _
Trait Implementations
sourceimpl Clone for PriorityCode
impl Clone for PriorityCode
sourcefn clone(&self) -> PriorityCode
fn clone(&self) -> PriorityCode
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 PriorityCode
impl Debug for PriorityCode
sourceimpl Hash for PriorityCode
impl Hash for PriorityCode
sourceimpl PartialEq<PriorityCode> for PriorityCode
impl PartialEq<PriorityCode> for PriorityCode
sourcefn eq(&self, other: &PriorityCode) -> bool
fn eq(&self, other: &PriorityCode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PriorityCode) -> bool
fn ne(&self, other: &PriorityCode) -> bool
This method tests for !=
.
impl Copy for PriorityCode
impl Eq for PriorityCode
impl StructuralEq for PriorityCode
impl StructuralPartialEq for PriorityCode
Auto Trait Implementations
impl RefUnwindSafe for PriorityCode
impl Send for PriorityCode
impl Sync for PriorityCode
impl Unpin for PriorityCode
impl UnwindSafe for PriorityCode
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