Struct wayland_client::protocol::wl_buffer::WlBuffer[][src]

pub struct WlBuffer(_);

Implementations

impl WlBuffer[src]

pub fn destroy(&self)[src]

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

impl AsRef<Proxy<WlBuffer>> for WlBuffer[src]

impl Clone for WlBuffer[src]

impl Debug for WlBuffer[src]

impl Eq for WlBuffer[src]

impl From<Proxy<WlBuffer>> for WlBuffer[src]

impl From<WlBuffer> for Proxy<WlBuffer>[src]

impl Interface for WlBuffer[src]

type Request = Request

Set of requests associated to this interface Read more

type Event = Event

Set of events associated to this interface Read more

impl PartialEq<WlBuffer> for WlBuffer[src]

impl StructuralEq for WlBuffer[src]

impl StructuralPartialEq for WlBuffer[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.