[−][src]Struct mmal_sys::MMAL_COMPONENT_T
Definition of a component.
Fields
priv_: *mut MMAL_COMPONENT_PRIVATE_T
Pointer to the private data of the module in use
userdata: *mut MMAL_COMPONENT_USERDATA_T
Pointer to private data of the client
name: *const c_char
Component name
is_enabled: u32
Specifies whether the component is enabled or not
control: *mut MMAL_PORT_T
All components expose a control port. The control port is used by clients to set / get parameters that are global to the component. It is also used to receive events, which again are global to the component. To be able to receive events, the client needs to enable and register a callback on the control port.
input_num: u32
< Number of input ports
input: *mut *mut MMAL_PORT_T
< Array of input ports
output_num: u32
< Number of output ports
output: *mut *mut MMAL_PORT_T
< Array of output ports
clock_num: u32
< Number of clock ports
clock: *mut *mut MMAL_PORT_T
< Array of clock ports
port_num: u32
< Total number of ports
port: *mut *mut MMAL_PORT_T
< Array of all the ports (control/input/output/clock)
id: u32
Uniquely identifies the component's instance within the MMAL context / process. For debugging.
Trait Implementations
impl Clone for MMAL_COMPONENT_T
[src]
fn clone(&self) -> MMAL_COMPONENT_T
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MMAL_COMPONENT_T
[src]
impl Debug for MMAL_COMPONENT_T
[src]
Auto Trait Implementations
impl !Send for MMAL_COMPONENT_T
impl Unpin for MMAL_COMPONENT_T
impl !Sync for MMAL_COMPONENT_T
impl UnwindSafe for MMAL_COMPONENT_T
impl RefUnwindSafe for MMAL_COMPONENT_T
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,