[][src]Trait rttrust::callback::CallbackParameter

pub trait CallbackParameter {
    type MiddleState;
    fn to_ptr_mut(self) -> *mut c_void;
}

Associated Types

Loading content...

Required methods

fn to_ptr_mut(self) -> *mut c_void

Loading content...

Implementors

impl CallbackParameter for usize[src]

type MiddleState = Self

impl<F: FnOnce() + 'static> CallbackParameter for F[src]

type MiddleState = *mut Box<dyn FnOnce() + 'static>

impl<T> CallbackParameter for *mut T[src]

type MiddleState = Self

Loading content...