Struct chrome_remote_interface_model::browser::Bounds [−][src]
This is supported on crate features
Browser
and experimental
only.Browser window bounds information
Implementations
impl Bounds
[src]
pub fn builder() -> BoundsBuilder
[src]
pub fn left(&self) -> Option<&u32>
[src]
The offset from the left edge of the screen to the window in pixels.
pub fn top(&self) -> Option<&u32>
[src]
The offset from the top edge of the screen to the window in pixels.
pub fn width(&self) -> Option<&u32>
[src]
The window width in pixels.
pub fn height(&self) -> Option<&u32>
[src]
The window height in pixels.
pub fn window_state(&self) -> Option<&JsonValue>
[src]
The window state. Default to normal.
Trait Implementations
impl Clone for Bounds
[src]
impl Debug for Bounds
[src]
impl<'de> Deserialize<'de> for Bounds
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Bounds
[src]
Auto Trait Implementations
impl RefUnwindSafe for Bounds
[src]
impl Send for Bounds
[src]
impl Sync for Bounds
[src]
impl Unpin for Bounds
[src]
impl UnwindSafe for Bounds
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,