pub trait ViewportExt: 'static {
// Required methods
fn get_bin_window(&self) -> Option<Window>;
fn get_shadow_type(&self) -> ShadowType;
fn get_view_window(&self) -> Option<Window>;
fn set_shadow_type(&self, type_: ShadowType);
fn connect_property_shadow_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_bin_window(&self) -> Option<Window>
fn get_shadow_type(&self) -> ShadowType
fn get_view_window(&self) -> Option<Window>
fn set_shadow_type(&self, type_: ShadowType)
fn connect_property_shadow_type_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.