[−][src]Struct mynewt::kernel::os::os_mempool
Memory pool
Fields
mp_block_size: u32
Size of the memory blocks, in bytes.
mp_num_blocks: u16
The number of memory blocks.
mp_num_free: u16
The number of free blocks left
mp_min_free: u16
The lowest number of free blocks seen
mp_flags: u8
Bitmap of OS_MEMPOOL_F_[...] values.
mp_membuf_addr: u32
Address of memory buffer used by pool
mp_list: os_mempool__bindgen_ty_1
__bindgen_anon_1: os_mempool__bindgen_ty_2
name: *mut c_char
Name for memory block
Trait Implementations
impl Default for os_mempool
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,