Type Alias riot_sys::inline::netdev_t

source ·
pub type netdev_t = netdev;

Aliased Type§

struct netdev_t {
    pub driver: *const netdev_driver,
    pub event_callback: Option<unsafe extern "C" fn(_: *mut netdev, _: u8)>,
    pub context: *mut c_void,
}

Fields§

§driver: *const netdev_driver§event_callback: Option<unsafe extern "C" fn(_: *mut netdev, _: u8)>§context: *mut c_void

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 12 bytes