pub trait SessionExt: IsA<Session> + 'static {
// Provided methods
fn comment(&self) -> Option<GString> { ... }
fn key(&self) -> Option<GString> { ... }
fn name(&self) -> Option<GString> { ... }
fn session_type(&self) -> Option<GString> { ... }
fn connect_comment_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_key_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}Provided Methods§
Sourcefn session_type(&self) -> Option<GString>
fn session_type(&self) -> Option<GString>
fn connect_comment_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_key_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_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.