Struct gio_sys::GSettingsBackendClass
source · #[repr(C)]pub struct GSettingsBackendClass {
pub parent_class: GObjectClass,
pub read: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char, _: *const GVariantType, _: gboolean) -> *mut GVariant>,
pub get_writable: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char) -> gboolean>,
pub write: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char, _: *mut GVariant, _: gpointer) -> gboolean>,
pub write_tree: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *mut GTree, _: gpointer) -> gboolean>,
pub reset: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char, _: gpointer)>,
pub subscribe: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char)>,
pub unsubscribe: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char)>,
pub sync: Option<unsafe extern "C" fn(_: *mut GSettingsBackend)>,
pub get_permission: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char) -> *mut GPermission>,
pub read_user_value: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char, _: *const GVariantType) -> *mut GVariant>,
pub padding: [gpointer; 23],
}
Fields§
§parent_class: GObjectClass
§read: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char, _: *const GVariantType, _: gboolean) -> *mut GVariant>
§get_writable: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char) -> gboolean>
§write: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char, _: *mut GVariant, _: gpointer) -> gboolean>
§write_tree: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *mut GTree, _: gpointer) -> gboolean>
§reset: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char, _: gpointer)>
§subscribe: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char)>
§unsubscribe: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char)>
§sync: Option<unsafe extern "C" fn(_: *mut GSettingsBackend)>
§get_permission: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char) -> *mut GPermission>
§read_user_value: Option<unsafe extern "C" fn(_: *mut GSettingsBackend, _: *const c_char, _: *const GVariantType) -> *mut GVariant>
§padding: [gpointer; 23]
Trait Implementations§
source§impl Clone for GSettingsBackendClass
impl Clone for GSettingsBackendClass
source§fn clone(&self) -> GSettingsBackendClass
fn clone(&self) -> GSettingsBackendClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GSettingsBackendClass
impl Debug for GSettingsBackendClass
impl Copy for GSettingsBackendClass
Auto Trait Implementations§
impl Freeze for GSettingsBackendClass
impl RefUnwindSafe for GSettingsBackendClass
impl !Send for GSettingsBackendClass
impl !Sync for GSettingsBackendClass
impl Unpin for GSettingsBackendClass
impl UnwindSafe for GSettingsBackendClass
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