Trait runa_wayland_protocols::unstable::tablet_unstable_v2::zwp_tablet_manager_v2::v1::RequestDispatch
source · pub trait RequestDispatch<Ctx> {
type Error;
type GetTabletSeatFut<'a>: Future<Output = Result<(), Self::Error>> + 'a
where Ctx: 'a;
type DestroyFut<'a>: Future<Output = Result<(), Self::Error>> + 'a
where Ctx: 'a;
// Required methods
fn get_tablet_seat<'a>(
ctx: &'a mut Ctx,
object_id: u32,
tablet_seat: NewId,
seat: Object
) -> Self::GetTabletSeatFut<'a>;
fn destroy<'a>(ctx: &'a mut Ctx, object_id: u32) -> Self::DestroyFut<'a>;
}
Required Associated Types§
type Error
sourcetype GetTabletSeatFut<'a>: Future<Output = Result<(), Self::Error>> + 'a
where
Ctx: 'a
type GetTabletSeatFut<'a>: Future<Output = Result<(), Self::Error>> + 'a where Ctx: 'a
Type of future returned by get_tablet_seat
Required Methods§
sourcefn get_tablet_seat<'a>(
ctx: &'a mut Ctx,
object_id: u32,
tablet_seat: NewId,
seat: Object
) -> Self::GetTabletSeatFut<'a>
fn get_tablet_seat<'a>( ctx: &'a mut Ctx, object_id: u32, tablet_seat: NewId, seat: Object ) -> Self::GetTabletSeatFut<'a>
get the tablet seat
Get the wp_tablet_seat object for the given seat. This object provides access to all graphics tablets in this seat.
sourcefn destroy<'a>(ctx: &'a mut Ctx, object_id: u32) -> Self::DestroyFut<'a>
fn destroy<'a>(ctx: &'a mut Ctx, object_id: u32) -> Self::DestroyFut<'a>
release the memory for the tablet manager object
Destroy the wp_tablet_manager object. Objects created from this object are unaffected and should be destroyed separately.