Trait SettingsExtManual

Source
pub trait SettingsExtManual: Sealed + IsA<Settings> {
    // Provided methods
    fn get<U: FromVariant>(&self, key: &str) -> U { ... }
    fn set(&self, key: &str, value: impl Into<Variant>) -> Result<(), BoolError> { ... }
    fn strv(&self, key: &str) -> StrV { ... }
    fn set_strv(&self, key: &str, value: impl IntoStrV) -> Result<(), BoolError> { ... }
    fn bind<'a, P: IsA<Object>>(
        &'a self,
        key: &'a str,
        object: &'a P,
        property: &'a str,
    ) -> BindingBuilder<'a> { ... }
}

Provided Methods§

Source

fn get<U: FromVariant>(&self, key: &str) -> U

Source

fn set(&self, key: &str, value: impl Into<Variant>) -> Result<(), BoolError>

Source

fn strv(&self, key: &str) -> StrV

Source

fn set_strv(&self, key: &str, value: impl IntoStrV) -> Result<(), BoolError>

Source

fn bind<'a, P: IsA<Object>>( &'a self, key: &'a str, object: &'a P, property: &'a str, ) -> BindingBuilder<'a>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§