pub struct WaylandClient { /* private fields */ }Expand description
Wayland client connection
Implementations§
Source§impl WaylandClient
impl WaylandClient
Sourcepub fn create_object(&self, interface: &str) -> ObjectId
pub fn create_object(&self, interface: &str) -> ObjectId
Create new object
Sourcepub fn destroy_object(&self, object_id: ObjectId)
pub fn destroy_object(&self, object_id: ObjectId)
Destroy object
Sourcepub fn queue_events(&self, events: &[u8])
pub fn queue_events(&self, events: &[u8])
Queue events for later retrieval.
Sourcepub fn drain_events(&self) -> Vec<u8>
pub fn drain_events(&self) -> Vec<u8>
Drain queued events.