pub trait LanguageExt: 'static {
Show 14 methods
// Required methods
fn get_globs(&self) -> Vec<GString>;
fn get_hidden(&self) -> bool;
fn get_id(&self) -> Option<GString>;
fn get_metadata(&self, name: &str) -> Option<GString>;
fn get_mime_types(&self) -> Vec<GString>;
fn get_name(&self) -> Option<GString>;
fn get_section(&self) -> Option<GString>;
fn get_style_fallback(&self, style_id: &str) -> Option<GString>;
fn get_style_ids(&self) -> Vec<GString>;
fn get_style_name(&self, style_id: &str) -> Option<GString>;
fn connect_property_hidden_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_id_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_section_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_globs(&self) -> Vec<GString>
fn get_id(&self) -> Option<GString>
fn get_metadata(&self, name: &str) -> Option<GString>
fn get_mime_types(&self) -> Vec<GString>
fn get_name(&self) -> Option<GString>
fn get_section(&self) -> Option<GString>
fn get_style_fallback(&self, style_id: &str) -> Option<GString>
fn get_style_ids(&self) -> Vec<GString>
fn get_style_name(&self, style_id: &str) -> Option<GString>
fn connect_property_id_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_section_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.