pub trait MountOperationExt: 'static {
// Required methods
fn get_parent(&self) -> Option<Window>;
fn get_screen(&self) -> Option<Screen>;
fn is_showing(&self) -> bool;
fn set_parent<P: IsA<Window>>(&self, parent: Option<&P>);
fn set_screen(&self, screen: &Screen);
fn get_property_is_showing(&self) -> bool;
fn connect_property_is_showing_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_parent_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_screen_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_parent(&self) -> Option<Window>
fn get_screen(&self) -> Option<Screen>
fn is_showing(&self) -> bool
fn set_parent<P: IsA<Window>>(&self, parent: Option<&P>)
fn set_screen(&self, screen: &Screen)
fn get_property_is_showing(&self) -> bool
fn connect_property_is_showing_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_parent_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_screen_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.