Struct ndk_sys::PriorityCode
source · #[repr(transparent)]pub struct PriorityCode(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
source§impl PriorityCode
impl PriorityCode
pub const ANEURALNETWORKS_PRIORITY_LOW: PriorityCode = _
source§impl PriorityCode
impl PriorityCode
pub const ANEURALNETWORKS_PRIORITY_MEDIUM: PriorityCode = _
source§impl PriorityCode
impl PriorityCode
pub const ANEURALNETWORKS_PRIORITY_HIGH: PriorityCode = _
source§impl PriorityCode
impl PriorityCode
pub const ANEURALNETWORKS_PRIORITY_DEFAULT: PriorityCode = _
Trait Implementations§
source§impl Clone for PriorityCode
impl Clone for PriorityCode
source§fn clone(&self) -> PriorityCode
fn clone(&self) -> PriorityCode
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 PriorityCode
impl Debug for PriorityCode
source§impl Hash for PriorityCode
impl Hash for PriorityCode
source§impl PartialEq for PriorityCode
impl PartialEq for PriorityCode
source§fn 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 ==
.impl Copy for PriorityCode
impl Eq for PriorityCode
impl StructuralPartialEq for PriorityCode
Auto Trait Implementations§
impl Freeze for PriorityCode
impl RefUnwindSafe for PriorityCode
impl Send for PriorityCode
impl Sync for PriorityCode
impl Unpin for PriorityCode
impl UnwindSafe for PriorityCode
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