pub struct WindowOpenParams {
pub url: String,
pub window_name: String,
pub window_features: Vec<String>,
pub user_gesture: bool,
}Expand description
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc. windowOpen
Fields§
§url: StringThe URL for the new window.
window_name: StringWindow name.
window_features: Vec<String>An array of enabled window features.
user_gesture: boolWhether or not it was triggered by user gesture.
Trait Implementations§
Source§impl Clone for WindowOpenParams
impl Clone for WindowOpenParams
Source§fn clone(&self) -> WindowOpenParams
fn clone(&self) -> WindowOpenParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowOpenParams
impl Debug for WindowOpenParams
Source§impl<'de> Deserialize<'de> for WindowOpenParams
impl<'de> Deserialize<'de> for WindowOpenParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WindowOpenParams
impl PartialEq for WindowOpenParams
Source§impl Serialize for WindowOpenParams
impl Serialize for WindowOpenParams
impl StructuralPartialEq for WindowOpenParams
Auto Trait Implementations§
impl Freeze for WindowOpenParams
impl RefUnwindSafe for WindowOpenParams
impl Send for WindowOpenParams
impl Sync for WindowOpenParams
impl Unpin for WindowOpenParams
impl UnsafeUnpin for WindowOpenParams
impl UnwindSafe for WindowOpenParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more