Struct chromiumoxide::cdp::browser_protocol::browser::GetWindowBoundsReturns
source · pub struct GetWindowBoundsReturns {
pub bounds: Bounds,
}
Expand description
Get position and size of the browser window. getWindowBounds
Fields§
§bounds: Bounds
Bounds information of the window. When window state is ‘minimized’, the restored window position and size are returned.
Implementations§
source§impl GetWindowBoundsReturns
impl GetWindowBoundsReturns
pub fn new(bounds: impl Into<Bounds>) -> GetWindowBoundsReturns
source§impl GetWindowBoundsReturns
impl GetWindowBoundsReturns
pub fn builder() -> GetWindowBoundsReturnsBuilder
Trait Implementations§
source§impl Clone for GetWindowBoundsReturns
impl Clone for GetWindowBoundsReturns
source§fn clone(&self) -> GetWindowBoundsReturns
fn clone(&self) -> GetWindowBoundsReturns
Returns a copy 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 GetWindowBoundsReturns
impl Debug for GetWindowBoundsReturns
source§impl<'de> Deserialize<'de> for GetWindowBoundsReturns
impl<'de> Deserialize<'de> for GetWindowBoundsReturns
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetWindowBoundsReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GetWindowBoundsReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GetWindowBoundsReturns
impl PartialEq for GetWindowBoundsReturns
source§fn eq(&self, other: &GetWindowBoundsReturns) -> bool
fn eq(&self, other: &GetWindowBoundsReturns) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetWindowBoundsReturns
impl Serialize for GetWindowBoundsReturns
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetWindowBoundsReturns
Auto Trait Implementations§
impl RefUnwindSafe for GetWindowBoundsReturns
impl Send for GetWindowBoundsReturns
impl Sync for GetWindowBoundsReturns
impl Unpin for GetWindowBoundsReturns
impl UnwindSafe for GetWindowBoundsReturns
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