package wayland

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

An ('a, 'v) t handles incoming messages for an object of type 'a. Typically, a constructor will let the user pick from a range of versions for 'v, which will then be constrained by the spawn call.

method user_data : ('a, 'role) Wayland__.S.user_data
method metadata : (module Wayland__.Metadata.S with type t = 'a)
method dispatch : ('a, 'v, 'role) proxy -> ('a, [ `R ]) Wayland__.Msg.t -> unit