Struct wayland_cursor::CursorImageBuffer
source · pub struct CursorImageBuffer { /* private fields */ }
Expand description
A buffer containing a cursor image.
You can access the WlBuffer
via Deref
.
Note that this proxy will be considered as “unmanaged” by the crate, as such you should
not try to act on it beyond assigning it to wl_surface
s.
Implementations§
Methods from Deref<Target = 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 Clone for CursorImageBuffer
impl Clone for CursorImageBuffer
source§fn clone(&self) -> CursorImageBuffer
fn clone(&self) -> CursorImageBuffer
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CursorImageBuffer
impl Debug for CursorImageBuffer
Auto Trait Implementations§
impl !RefUnwindSafe for CursorImageBuffer
impl Send for CursorImageBuffer
impl Sync for CursorImageBuffer
impl Unpin for CursorImageBuffer
impl !UnwindSafe for CursorImageBuffer
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