poppler/auto/dest.rs
1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from
3// from gir-files (https://github.com/gtk-rs/gir-files)
4// DO NOT EDIT
5
6use crate::ffi;
7use glib::translate::*;
8
9glib::wrapper! {
10 #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
11 pub struct Dest(Boxed<ffi::PopplerDest>);
12
13 match fn {
14 copy => |ptr| ffi::poppler_dest_copy(mut_override(ptr)),
15 free => |ptr| ffi::poppler_dest_free(ptr),
16 type_ => || ffi::poppler_dest_get_type(),
17 }
18}