pub trait RequestsTrait {
    fn destroy(&self);
}

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

Implementors