pub trait NavigationPolicyDecisionExt:
IsA<NavigationPolicyDecision>
+ Sealed
+ 'static {
// Provided methods
fn frame_name(&self) -> Option<GString> { ... }
fn modifiers(&self) -> u32 { ... }
fn mouse_button(&self) -> u32 { ... }
fn navigation_action(&self) -> Option<NavigationAction> { ... }
fn navigation_type(&self) -> NavigationType { ... }
fn request(&self) -> Option<URIRequest> { ... }
fn connect_frame_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_modifiers_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_mouse_button_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_navigation_action_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_navigation_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_request_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methodsยง
fn frame_name(&self) -> Option<GString>
๐Deprecated: Since 2.40
fn modifiers(&self) -> u32
๐Deprecated: Since 2.6
๐Deprecated: Since 2.6
Available on crate feature
v2_6
only.๐Deprecated: Since 2.6
fn request(&self) -> Option<URIRequest>
๐Deprecated: Since 2.6
fn connect_frame_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 2.40
fn connect_modifiers_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 2.6
๐Deprecated: Since 2.6
Available on crate feature
v2_6
only.๐Deprecated: Since 2.6
fn connect_request_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
๐Deprecated: Since 2.6
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.