[][src]Struct mmal_sys::MMAL_CONNECTION_T

#[repr(C)]
pub struct MMAL_CONNECTION_T {
    pub user_data: *mut c_void,
    pub callback: MMAL_CONNECTION_CALLBACK_T,
    pub is_enabled: u32,
    pub flags: u32,
    pub in_: *mut MMAL_PORT_T,
    pub out: *mut MMAL_PORT_T,
    pub pool: *mut MMAL_POOL_T,
    pub queue: *mut MMAL_QUEUE_T,
    pub name: *const c_char,
    pub time_setup: i64,
    pub time_enable: i64,
    pub time_disable: i64,
}

Structure describing a connection between 2 ports (1 output and 1 input port)

Fields

user_data: *mut c_void

< Field reserved for use by the client.

callback: MMAL_CONNECTION_CALLBACK_T

< Callback set by the client.

is_enabled: u32

< Specifies whether the connection is enabled or not (Read Only).

flags: u32

< Flags passed during the create call (Read Only). A bitwise combination of \ref connectionflags "Connection flags" values.

in_: *mut MMAL_PORT_T

< Input port used for the connection (Read Only).

out: *mut MMAL_PORT_T

< Output port used for the connection (Read Only).

pool: *mut MMAL_POOL_T

< Pool of buffer headers used by the output port (Read Only).

queue: *mut MMAL_QUEUE_T

< Queue for the buffer headers produced by the output port (Read Only).

name: *const c_char

< Connection name (Read Only). Used for debugging purposes.

time_setup: i64

< Time in microseconds taken to setup the connection.

time_enable: i64

< Time in microseconds taken to enable the connection.

time_disable: i64

< Time in microseconds taken to disable the connection.

Trait Implementations

impl Clone for MMAL_CONNECTION_T[src]

impl Copy for MMAL_CONNECTION_T[src]

impl Debug for MMAL_CONNECTION_T[src]

Auto Trait Implementations

impl !Send for MMAL_CONNECTION_T

impl Unpin for MMAL_CONNECTION_T

impl !Sync for MMAL_CONNECTION_T

impl UnwindSafe for MMAL_CONNECTION_T

impl RefUnwindSafe for MMAL_CONNECTION_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]