Trait StyleSchemeExt

Source
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§

Source

fn get_authors(&self) -> Vec<GString>

Source

fn get_description(&self) -> Option<GString>

Source

fn get_filename(&self) -> Option<GString>

Source

fn get_id(&self) -> Option<GString>

Source

fn get_name(&self) -> Option<GString>

Source

fn get_style(&self, style_id: &str) -> Option<Style>

Source

fn connect_property_description_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_filename_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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.

Implementors§