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

pub struct WlBuffer(_);

Methods

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 Eq for WlBuffer[src]

impl Clone for WlBuffer[src]

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

impl PartialEq<WlBuffer> 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

Auto Trait Implementations

impl Send for WlBuffer

impl Unpin for WlBuffer

impl Sync for WlBuffer

impl !UnwindSafe for WlBuffer

impl !RefUnwindSafe for WlBuffer

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

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