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

pub trait RequestHandler {
    fn destroy(&mut self, object: WlBuffer) { ... }
}

An interface for handling requests.

Provided methods

fn destroy(&mut self, object: WlBuffer)

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 requests to this object any longer once this method is called.

Loading content...

Implementors

Loading content...