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
sourceimpl Clone for GSettingsBackendClass
impl Clone for GSettingsBackendClass
sourcefn clone(&self) -> GSettingsBackendClass
fn clone(&self) -> GSettingsBackendClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GSettingsBackendClass
impl Debug for GSettingsBackendClass
impl Copy for GSettingsBackendClass
Auto Trait Implementations
impl RefUnwindSafe for GSettingsBackendClass
impl !Send for GSettingsBackendClass
impl !Sync for GSettingsBackendClass
impl Unpin for GSettingsBackendClass
impl UnwindSafe for GSettingsBackendClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more