pub trait StyleSchemeExt: 'static {
// Required methods
fn get_authors(&self) -> Vec<GString>;
fn get_description(&self) -> Option<GString>;
fn get_filename(&self) -> Option<GString>;
fn get_id(&self) -> Option<GString>;
fn get_name(&self) -> Option<GString>;
fn get_style(&self, style_id: &str) -> Option<Style>;
fn connect_property_description_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_filename_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_description(&self) -> Option<GString>
fn get_filename(&self) -> Option<GString>
fn get_id(&self) -> Option<GString>
fn get_name(&self) -> Option<GString>
fn get_style(&self, style_id: &str) -> Option<Style>
fn connect_property_description_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_filename_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_name_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.