Trait wayland_server::protocol::wl_buffer::Handler [] [src]

pub trait Handler {
    fn destroy(&mut self,
               evqh: &mut EventLoopHandle,
               client: &Client,
               resource: &WlBuffer) { ... } }

Provided Methods

destroy a buffer

Destroy a buffer. If and how you need to release the backing storage is defined by the buffer factory interface.

For possible side-effects to a surface, see wl_surface.attach.

This is a destructor, you cannot send events to this object once this method is called.

Implementors