Struct wayland_client::protocol::wl_buffer::WlBuffer
source · pub struct WlBuffer(/* private fields */);
Implementations§
source§impl WlBuffer
impl WlBuffer
sourcepub fn destroy(&self)
pub fn destroy(&self)
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.
Trait Implementations§
source§impl Interface for WlBuffer
impl Interface for WlBuffer
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
source§impl PartialEq for WlBuffer
impl PartialEq for WlBuffer
impl Eq for WlBuffer
impl StructuralEq for WlBuffer
impl StructuralPartialEq for WlBuffer
Auto Trait Implementations§
impl !RefUnwindSafe for WlBuffer
impl Send for WlBuffer
impl Sync for WlBuffer
impl Unpin for WlBuffer
impl !UnwindSafe for WlBuffer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more