pub struct GetWindowForTargetReturnObject {
pub window_id: WindowId,
pub bounds: Bounds,
}Expand description
Get the browser window that contains the devtools target.
Fields§
§window_id: WindowIdBrowser window id.
bounds: BoundsBounds information of the window. When window state is ‘minimized’, the restored window position and size are returned.
Trait Implementations§
Source§impl Clone for GetWindowForTargetReturnObject
impl Clone for GetWindowForTargetReturnObject
Source§fn clone(&self) -> GetWindowForTargetReturnObject
fn clone(&self) -> GetWindowForTargetReturnObject
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<'de> Deserialize<'de> for GetWindowForTargetReturnObject
impl<'de> Deserialize<'de> for GetWindowForTargetReturnObject
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 GetWindowForTargetReturnObject
impl PartialEq for GetWindowForTargetReturnObject
Source§fn eq(&self, other: &GetWindowForTargetReturnObject) -> bool
fn eq(&self, other: &GetWindowForTargetReturnObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetWindowForTargetReturnObject
Auto Trait Implementations§
impl Freeze for GetWindowForTargetReturnObject
impl RefUnwindSafe for GetWindowForTargetReturnObject
impl Send for GetWindowForTargetReturnObject
impl Sync for GetWindowForTargetReturnObject
impl Unpin for GetWindowForTargetReturnObject
impl UnsafeUnpin for GetWindowForTargetReturnObject
impl UnwindSafe for GetWindowForTargetReturnObject
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