#[repr(C)]pub struct osThreadAttr_t {
pub name: *const c_char,
pub attr_bits: u32,
pub cb_mem: *mut c_void,
pub cb_size: u32,
pub stack_mem: *mut c_void,
pub stack_size: u32,
pub priority: osPriority_t,
pub tz_module: TZ_ModuleId_t,
pub reserved: u32,
}
Expand description
Attributes structure for thread.
Fields§
§name: *const c_char
< name of the thread
attr_bits: u32
< attribute bits
cb_mem: *mut c_void
< memory for control block
cb_size: u32
< size of provided memory for control block
stack_mem: *mut c_void
< memory for stack
stack_size: u32
< size of stack
priority: osPriority_t
< initial thread priority (default: osPriorityNormal)
tz_module: TZ_ModuleId_t
< TrustZone module identifier
reserved: u32
< reserved (must be 0)
Trait Implementations§
Source§impl Clone for osThreadAttr_t
impl Clone for osThreadAttr_t
Source§fn clone(&self) -> osThreadAttr_t
fn clone(&self) -> osThreadAttr_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 osThreadAttr_t
impl Debug for osThreadAttr_t
impl Copy for osThreadAttr_t
Auto Trait Implementations§
impl Freeze for osThreadAttr_t
impl RefUnwindSafe for osThreadAttr_t
impl !Send for osThreadAttr_t
impl !Sync for osThreadAttr_t
impl Unpin for osThreadAttr_t
impl UnwindSafe for osThreadAttr_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