Trait sourceview5::prelude::SettingsExtManual
source · pub trait SettingsExtManual: Sealed + IsA<Settings> {
// Provided methods
fn get<U>(&self, key: &str) -> U
where U: FromVariant { ... }
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>(
&'a self,
key: &'a str,
object: &'a P,
property: &'a str,
) -> BindingBuilder<'a>
where P: IsA<Object> { ... }
}
Provided Methods§
fn get<U>(&self, key: &str) -> Uwhere
U: FromVariant,
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>( &'a self, key: &'a str, object: &'a P, property: &'a str, ) -> BindingBuilder<'a>
Object Safety§
This trait is not object safe.