Struct ndk_sys::pthread_attr_t
source · #[repr(C)]pub struct pthread_attr_t {
pub flags: u32,
pub stack_base: *mut c_void,
pub stack_size: size_t,
pub guard_size: size_t,
pub sched_policy: i32,
pub sched_priority: i32,
pub __reserved: [c_char; 16],
}
Fields
flags: u32
stack_base: *mut c_void
stack_size: size_t
guard_size: size_t
sched_policy: i32
sched_priority: i32
__reserved: [c_char; 16]
Trait Implementations
sourceimpl Clone for pthread_attr_t
impl Clone for pthread_attr_t
sourcefn clone(&self) -> pthread_attr_t
fn clone(&self) -> pthread_attr_t
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 pthread_attr_t
impl Debug for pthread_attr_t
impl Copy for pthread_attr_t
Auto Trait Implementations
impl RefUnwindSafe for pthread_attr_t
impl !Send for pthread_attr_t
impl !Sync for pthread_attr_t
impl Unpin for pthread_attr_t
impl UnwindSafe for pthread_attr_t
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