Skip to main content

gio/
io_module.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3use crate::ffi;
4
5glib::wrapper! {
6    /// Provides an interface and default functions for loading and unloading
7    /// modules. This is used internally to make GIO extensible, but can also
8    /// be used by others to implement module loading.
9    ///
10    /// # Implements
11    ///
12    /// [`trait@glib::ObjectExt`]
13    #[doc(alias = "GIOModule")]
14    pub struct IOModule(Object<ffi::GIOModule, ffi::GIOModuleClass>) @extends glib::TypeModule, @implements glib::TypePlugin;
15
16    match fn {
17        type_ => || ffi::g_io_module_get_type(),
18    }
19}