[][src]Struct wayland_protocols::unstable::linux_dmabuf::v1::server::zwp_linux_buffer_params_v1::ZwpLinuxBufferParamsV1

pub struct ZwpLinuxBufferParamsV1(_);

Implementations

impl ZwpLinuxBufferParamsV1[src]

pub fn created(&self, buffer: &WlBuffer)[src]

buffer creation succeeded

This event indicates that the attempted buffer creation was successful. It provides the new wl_buffer referencing the dmabuf(s).

Upon receiving this event, the client should destroy the zlinux_dmabuf_params object.

pub fn failed(&self)[src]

buffer creation failed

This event indicates that the attempted buffer creation has failed. It usually means that one of the dmabuf constraints has not been fulfilled.

Upon receiving this event, the client should destroy the zlinux_buffer_params object.

Trait Implementations

impl AsRef<Resource<ZwpLinuxBufferParamsV1>> for ZwpLinuxBufferParamsV1[src]

impl Clone for ZwpLinuxBufferParamsV1[src]

impl Debug for ZwpLinuxBufferParamsV1[src]

impl Eq for ZwpLinuxBufferParamsV1[src]

impl From<Resource<ZwpLinuxBufferParamsV1>> for ZwpLinuxBufferParamsV1[src]

impl From<ZwpLinuxBufferParamsV1> for Resource<ZwpLinuxBufferParamsV1>[src]

impl Interface for ZwpLinuxBufferParamsV1[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<ZwpLinuxBufferParamsV1> for ZwpLinuxBufferParamsV1[src]

impl StructuralEq for ZwpLinuxBufferParamsV1[src]

impl StructuralPartialEq for ZwpLinuxBufferParamsV1[src]

Auto Trait Implementations

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

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

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.