[][src]Struct mmal_sys::MMAL_PARAMETER_BUFFER_REQUIREMENTS_T

#[repr(C)]
pub struct MMAL_PARAMETER_BUFFER_REQUIREMENTS_T {
    pub hdr: MMAL_PARAMETER_HEADER_T,
    pub buffer_num_min: u32,
    pub buffer_size_min: u32,
    pub buffer_alignment_min: u32,
    pub buffer_num_recommended: u32,
    pub buffer_size_recommended: u32,
}

Buffer requirements parameter. This is mainly used to increase the requirements of a component.

Fields

hdr: MMAL_PARAMETER_HEADER_Tbuffer_num_min: u32

< Minimum number of buffers the port requires

buffer_size_min: u32

< Minimum size of buffers the port requires

buffer_alignment_min: u32

< Minimum alignment requirement for the buffers. A value of zero means no special alignment requirements.

buffer_num_recommended: u32

< Number of buffers the port recommends for optimal performance. A value of zero means no special recommendation.

buffer_size_recommended: u32

< Size of buffers the port recommends for optimal performance. A value of zero means no special recommendation.

Trait Implementations

impl Clone for MMAL_PARAMETER_BUFFER_REQUIREMENTS_T[src]

impl Copy for MMAL_PARAMETER_BUFFER_REQUIREMENTS_T[src]

impl Debug for MMAL_PARAMETER_BUFFER_REQUIREMENTS_T[src]

Auto Trait Implementations

impl Send for MMAL_PARAMETER_BUFFER_REQUIREMENTS_T

impl Unpin for MMAL_PARAMETER_BUFFER_REQUIREMENTS_T

impl Sync for MMAL_PARAMETER_BUFFER_REQUIREMENTS_T

impl UnwindSafe for MMAL_PARAMETER_BUFFER_REQUIREMENTS_T

impl RefUnwindSafe for MMAL_PARAMETER_BUFFER_REQUIREMENTS_T

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]