Skip to main content

atk/auto/
text_range.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5glib::wrapper! {
6    /// A structure used to describe a text range.
7    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
8    pub struct TextRange(Boxed<ffi::AtkTextRange>);
9
10    match fn {
11        copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::atk_text_range_get_type(), ptr as *mut _) as *mut ffi::AtkTextRange,
12        free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::atk_text_range_get_type(), ptr as *mut _),
13        type_ => || ffi::atk_text_range_get_type(),
14    }
15}