pub struct WindowOpenEventParams {
pub url: String,
pub window_name: String,
pub window_features: Vec<String>,
pub user_gesture: bool,
}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 WindowOpenEventParams
impl Clone for WindowOpenEventParams
Source§fn clone(&self) -> WindowOpenEventParams
fn clone(&self) -> WindowOpenEventParams
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 WindowOpenEventParams
impl Debug for WindowOpenEventParams
Source§impl<'de> Deserialize<'de> for WindowOpenEventParams
impl<'de> Deserialize<'de> for WindowOpenEventParams
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 WindowOpenEventParams
impl PartialEq for WindowOpenEventParams
Source§impl Serialize for WindowOpenEventParams
impl Serialize for WindowOpenEventParams
impl StructuralPartialEq for WindowOpenEventParams
Auto Trait Implementations§
impl Freeze for WindowOpenEventParams
impl RefUnwindSafe for WindowOpenEventParams
impl Send for WindowOpenEventParams
impl Sync for WindowOpenEventParams
impl Unpin for WindowOpenEventParams
impl UnsafeUnpin for WindowOpenEventParams
impl UnwindSafe for WindowOpenEventParams
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