pub struct IOModuleScope { /* private fields */ }Expand description
Represents a scope for loading IO modules. A scope can be used for blocking duplicate modules, or blocking a module you don’t want to load.
The scope can be used with g_io_modules_load_all_in_directory_with_scope() or g_io_modules_scan_all_in_directory_with_scope().
GLib type: Inline allocated boxed type with stack copy semantics.
Implementations§
Source§impl IOModuleScope
impl IOModuleScope
pub fn as_ptr(&self) -> *mut GIOModuleScope
Sourcepub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GIOModuleScope) -> &'a Self
pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GIOModuleScope) -> &'a Self
Borrows the underlying C value.
Sourcepub unsafe fn from_glib_ptr_borrow_mut<'a>(
ptr: *mut GIOModuleScope,
) -> &'a mut Self
pub unsafe fn from_glib_ptr_borrow_mut<'a>( ptr: *mut GIOModuleScope, ) -> &'a mut Self
Borrows the underlying C value mutably.
Trait Implementations§
Source§impl Clone for IOModuleScope
impl Clone for IOModuleScope
Source§impl Debug for IOModuleScope
impl Debug for IOModuleScope
Auto Trait Implementations§
impl Freeze for IOModuleScope
impl RefUnwindSafe for IOModuleScope
impl !Send for IOModuleScope
impl !Sync for IOModuleScope
impl !Unpin for IOModuleScope
impl UnwindSafe for IOModuleScope
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more