pub trait OsKeyboard: Send {
    type KeyboardType<'a>: Keyboard + 'a
       where Self: 'a;
    type IntoKeyboardType: Keyboard + Clone + 'static;

    // Required methods
    fn keyboard(&mut self) -> Result<Self::KeyboardType<'_>>;
    fn into_keyboard(self) -> Result<Self::IntoKeyboardType>;
}

Required Associated Types§

source

type KeyboardType<'a>: Keyboard + 'a where Self: 'a

source

type IntoKeyboardType: Keyboard + Clone + 'static

Required Methods§

source

fn keyboard(&mut self) -> Result<Self::KeyboardType<'_>>

source

fn into_keyboard(self) -> Result<Self::IntoKeyboardType>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'cglue_a, CGlueO: 'cglue_a + GetContainer + GetVtbl<OsKeyboardVtbl<'cglue_a, <Self as GetContainer>::ContType>> + Send + OsKeyboardOpaqueObj<'cglue_a>> OsKeyboard for CGlueO
where OsKeyboardVtbl<'cglue_a, <Self as GetContainer>::ContType>: StableAbi,

§

type KeyboardType<'a> = CGlueTraitObj<'a, CBox<'a, c_void>, KeyboardVtbl<'a, CGlueObjContainer<CBox<'a, c_void>, <<CGlueO as GetContainer>::ContType as CGlueObjBase>::Context, PhantomData<KeyboardRetTmpPhantom<<<CGlueO as GetContainer>::ContType as CGlueObjBase>::Context>>>>, <<CGlueO as GetContainer>::ContType as CGlueObjBase>::Context, PhantomData<KeyboardRetTmpPhantom<<<CGlueO as GetContainer>::ContType as CGlueObjBase>::Context>>> where Self: 'a

§

type IntoKeyboardType = IntoKeyboard<'static, CBox<'static, c_void>, <<CGlueO as GetContainer>::ContType as CGlueObjBase>::Context>