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: usize,
pub guard_size: usize,
pub sched_policy: i32,
pub sched_priority: i32,
pub __reserved: [c_char; 16],
}
Fields§
§flags: u32
§stack_base: *mut c_void
§stack_size: usize
§guard_size: usize
§sched_policy: i32
§sched_priority: i32
§__reserved: [c_char; 16]
Trait Implementations§
source§impl Clone for pthread_attr_t
impl Clone for pthread_attr_t
source§fn clone(&self) -> pthread_attr_t
fn clone(&self) -> pthread_attr_t
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 pthread_attr_t
impl Debug for pthread_attr_t
impl Copy for pthread_attr_t
Auto Trait Implementations§
impl Freeze for pthread_attr_t
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§
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