Enum wayland_protocols::misc::gtk_primary_selection::client::gtk_primary_selection_offer::Event [−][src]
#[non_exhaustive]
pub enum Event {
Offer {
mime_type: String,
},
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Offer
Fields
mime_type: String
advertise offered mime type
Sent immediately after creating announcing the wp_primary_selection_offer through wp_primary_selection_device.data_offer. One event is sent per offered mime type.
Trait Implementations
Wire representation of this MessageGroup
The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more
Whether this message is a destructor Read more
Retrieve the child Object
associated with this message if any
Construct a message from its raw representation
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
Construct a message of this group from its C representation Read more
Build a C representation of this message Read more