[][src]Struct mmal_sys::VCOS_BLOCKPOOL_SUBPOOL_TAG

#[repr(C)]
pub struct VCOS_BLOCKPOOL_SUBPOOL_TAG {
    pub magic: u32,
    pub free_list: *mut VCOS_BLOCKPOOL_HEADER_T,
    pub mem: *mut c_void,
    pub start: *mut c_void,
    pub end: *mut c_void,
    pub num_blocks: VCOS_UNSIGNED,
    pub available_blocks: VCOS_UNSIGNED,
    pub owner: *mut VCOS_BLOCKPOOL_TAG,
    pub flags: u32,
}

Fields

magic: u32

VCOS_BLOCKPOOL_SUBPOOL_MAGIC

free_list: *mut VCOS_BLOCKPOOL_HEADER_Tmem: *mut c_voidstart: *mut c_voidend: *mut c_voidnum_blocks: VCOS_UNSIGNED

The number of blocks in this sub-pool

available_blocks: VCOS_UNSIGNED

Current number of available blocks in this sub-pool

owner: *mut VCOS_BLOCKPOOL_TAG

Pointers to the pool that owns this sub-pool

flags: u32

Define properties such as memory ownership

Trait Implementations

impl Clone for VCOS_BLOCKPOOL_SUBPOOL_TAG[src]

impl Copy for VCOS_BLOCKPOOL_SUBPOOL_TAG[src]

impl Debug for VCOS_BLOCKPOOL_SUBPOOL_TAG[src]

Auto Trait Implementations

impl !Send for VCOS_BLOCKPOOL_SUBPOOL_TAG

impl Unpin for VCOS_BLOCKPOOL_SUBPOOL_TAG

impl !Sync for VCOS_BLOCKPOOL_SUBPOOL_TAG

impl UnwindSafe for VCOS_BLOCKPOOL_SUBPOOL_TAG

impl RefUnwindSafe for VCOS_BLOCKPOOL_SUBPOOL_TAG

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]