#[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,
}Fields§
§flags: u32§stack_base: *mut c_void§stack_size: usize§guard_size: usize§sched_policy: i32§sched_priority: i32Trait 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 duplicate 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