[][src]Struct lc3tools_sys::root::lc3::shims::CallbackInputter

#[repr(C)]pub struct CallbackInputter {
    pub _base: IInputter,
    pub func: Option<unsafe extern "C" fn() -> c_uchar>,
}

Calls a function to get an input.

Note: the function must ultimately produce a character but can block.

Fields

_base: IInputterfunc: Option<unsafe extern "C" fn() -> c_uchar>

Trait Implementations

impl Debug for CallbackInputter[src]

impl Default for CallbackInputter[src]

Auto Trait Implementations

impl RefUnwindSafe for CallbackInputter

impl !Send for CallbackInputter

impl !Sync for CallbackInputter

impl Unpin for CallbackInputter

impl UnwindSafe for CallbackInputter

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 = 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.