[][src]Struct wayland_protocols::unstable::linux_dmabuf::v1::client::zwp_linux_dmabuf_v1::ZwpLinuxDmabufV1

pub struct ZwpLinuxDmabufV1(_);

Implementations

impl ZwpLinuxDmabufV1[src]

pub fn destroy(&self)[src]

unbind the factory

Objects created through this interface, especially wl_buffers, will remain valid.

This is a destructor, you cannot send requests to this object any longer once this method is called.

pub fn create_params<F>(
    &self,
    implementor: F
) -> Result<ZwpLinuxBufferParamsV1, ()> where
    F: FnOnce(NewProxy<ZwpLinuxBufferParamsV1>) -> ZwpLinuxBufferParamsV1
[src]

create a temporary object for buffer parameters

This temporary object is used to collect multiple dmabuf handles into a single batch to create a wl_buffer. It can only be used once and should be destroyed after a 'created' or 'failed' event has been received.

Trait Implementations

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

impl Clone for ZwpLinuxDmabufV1[src]

impl Eq for ZwpLinuxDmabufV1[src]

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

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

impl<T: EventHandler> HandledBy<T> for ZwpLinuxDmabufV1[src]

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

impl StructuralEq for ZwpLinuxDmabufV1[src]

impl StructuralPartialEq for ZwpLinuxDmabufV1[src]

Auto Trait Implementations

impl !RefUnwindSafe for ZwpLinuxDmabufV1

impl Send for ZwpLinuxDmabufV1

impl Sync for ZwpLinuxDmabufV1

impl Unpin for ZwpLinuxDmabufV1

impl !UnwindSafe for ZwpLinuxDmabufV1

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> From<T> for T[src]

impl<M, I> HandledBy<Sink<M>> for I where
    I: Interface,
    M: From<(<I as Interface>::Event, I)>, 
[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.