#[repr(C)]pub struct osSemaphoreAttr_t {
pub name: *const c_char,
pub attr_bits: u32,
pub cb_mem: *mut c_void,
pub cb_size: u32,
}
Expand description
Attributes structure for semaphore.
Fields§
§name: *const c_char
< name of the semaphore
attr_bits: u32
< attribute bits
cb_mem: *mut c_void
< memory for control block
cb_size: u32
< size of provided memory for control block
Trait Implementations§
Source§impl Clone for osSemaphoreAttr_t
impl Clone for osSemaphoreAttr_t
Source§fn clone(&self) -> osSemaphoreAttr_t
fn clone(&self) -> osSemaphoreAttr_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 osSemaphoreAttr_t
impl Debug for osSemaphoreAttr_t
impl Copy for osSemaphoreAttr_t
Auto Trait Implementations§
impl Freeze for osSemaphoreAttr_t
impl RefUnwindSafe for osSemaphoreAttr_t
impl !Send for osSemaphoreAttr_t
impl !Sync for osSemaphoreAttr_t
impl Unpin for osSemaphoreAttr_t
impl UnwindSafe for osSemaphoreAttr_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