Enum cacao::webview::NavigationPolicy
source · [−]pub enum NavigationPolicy {
Cancel,
Allow,
}
Available on crate feature
webview
only.Expand description
Describes the policy for a given navigation.
Variants
Cancel
Should be canceled.
Allow
Allowed.
Trait Implementations
sourcefn clone(&self) -> NavigationPolicy
fn clone(&self) -> NavigationPolicy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourcefn from(policy: NavigationPolicy) -> Self
fn from(policy: NavigationPolicy) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more