pub trait StyleSchemeManagerExt: 'static {
// Required methods
fn append_search_path(&self, path: &str);
fn force_rescan(&self);
fn get_scheme(&self, scheme_id: &str) -> Option<StyleScheme>;
fn get_scheme_ids(&self) -> Vec<GString>;
fn get_search_path(&self) -> Vec<GString>;
fn prepend_search_path(&self, path: &str);
fn set_search_path(&self, path: &[&str]);
fn connect_property_scheme_ids_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_search_path_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn append_search_path(&self, path: &str)
fn force_rescan(&self)
fn get_scheme(&self, scheme_id: &str) -> Option<StyleScheme>
fn get_scheme_ids(&self) -> Vec<GString>
fn get_search_path(&self) -> Vec<GString>
fn prepend_search_path(&self, path: &str)
fn set_search_path(&self, path: &[&str])
fn connect_property_scheme_ids_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_search_path_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
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.