[][src]Struct kpal_plugin::Peripheral

#[repr(C)]
pub struct Peripheral { /* fields omitted */ }

An opaque struct that contains the state of an individual peripheral.

In Rust, an opaque struct is defined as a struct with a field that is a zero-length array of unsigned 8-bit integers. It is used to hide the peripheral's state, forcing all interactions with the data through the functions in the vtable instead.

Trait Implementations

impl Debug for Peripheral[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Error = !

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.