[−][src]Function wayland_scanner::generate_code_with_destructor_events
pub fn generate_code_with_destructor_events<P1: AsRef<Path>, P2: AsRef<Path>>(
prot: P1,
target: P2,
side: Side,
events: &[(&str, &str)]
)
Generate the code for a protocol with aditionnal destructor events
Same as generate_code
, but allows you to additionnaly specify some events
(in the format ("interface_name", "event_name")
) as being destructor, as this
information is not encoded in the protocol files but instead written in the
protocol documentation.