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: u32stack_base: *mut c_voidstack_size: size_tguard_size: size_tsched_policy: i32sched_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 more
sourceimpl 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 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