[−][src]Struct wayland_protocols::unstable::linux_dmabuf::v1::client::zwp_linux_dmabuf_v1::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]
&self,
implementor: F
) -> Result<ZwpLinuxBufferParamsV1, ()> where
F: FnOnce(NewProxy<ZwpLinuxBufferParamsV1>) -> ZwpLinuxBufferParamsV1,
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]
fn clone(&self) -> ZwpLinuxDmabufV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for ZwpLinuxDmabufV1
[src]
impl From<Proxy<ZwpLinuxDmabufV1>> for ZwpLinuxDmabufV1
[src]
impl From<ZwpLinuxDmabufV1> for Proxy<ZwpLinuxDmabufV1>
[src]
fn from(value: ZwpLinuxDmabufV1) -> Self
[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
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwpLinuxDmabufV1> for ZwpLinuxDmabufV1
[src]
fn eq(&self, other: &ZwpLinuxDmabufV1) -> bool
[src]
fn ne(&self, other: &ZwpLinuxDmabufV1) -> bool
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[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]
I: Interface,
M: From<(<I as Interface>::Event, I)>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,