pub enum Request {
CreateDataSource {
id: NewObject<WlDataSource>,
},
GetDataDevice {
id: NewObject<WlDataDevice>,
seat: ObjectId,
},
}
Variants§
CreateDataSource
create a new data source
Create a new data source.
Fields
§
id: NewObject<WlDataSource>
data source to create
GetDataDevice
create a new data device
Create a new data device for a given seat.
Fields
§
id: NewObject<WlDataDevice>
data device to create
§
seat: ObjectId
seat associated with the data device
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more