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