Enum cacao::webview::NavigationType
source · [−]pub enum NavigationType {
LinkActivated,
FormSubmitted,
BackForward,
Reload,
FormResubmitted,
Other,
}
Available on crate feature
webview
only.Expand description
Describes a navigation type from within the WebView
.
Variants
LinkActivated
A user activated a link.
FormSubmitted
A user submitted a form.
BackForward
A user went backwards or fowards.
Reload
A user reloaded the webview.
FormResubmitted
A user resubmitted a form.
Other
Other.
Trait Implementations
sourcefn clone(&self) -> NavigationType
fn clone(&self) -> NavigationType
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(nav_type: NavigationType) -> Self
fn from(nav_type: NavigationType) -> Self
Converts to this type from the input type.
sourcefn into(self) -> NavigationType
fn into(self) -> NavigationType
Converts this type into the (usually inferred) 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