Enum chromiumoxide::cdp::browser_protocol::browser::WindowState
source · pub enum WindowState {
Normal,
Minimized,
Maximized,
Fullscreen,
}
Expand description
The state of the browser window.
Variants§
Trait Implementations§
source§impl AsRef<str> for WindowState
impl AsRef<str> for WindowState
source§impl Clone for WindowState
impl Clone for WindowState
source§fn clone(&self) -> WindowState
fn clone(&self) -> WindowState
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 WindowState
impl Debug for WindowState
source§impl<'de> Deserialize<'de> for WindowState
impl<'de> Deserialize<'de> for WindowState
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<WindowState, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for WindowState
impl FromStr for WindowState
source§impl Hash for WindowState
impl Hash for WindowState
source§impl PartialEq for WindowState
impl PartialEq for WindowState
source§fn eq(&self, other: &WindowState) -> bool
fn eq(&self, other: &WindowState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WindowState
impl Serialize for WindowState
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 Eq for WindowState
impl StructuralEq for WindowState
impl StructuralPartialEq for WindowState
Auto Trait Implementations§
impl RefUnwindSafe for WindowState
impl Send for WindowState
impl Sync for WindowState
impl Unpin for WindowState
impl UnwindSafe for WindowState
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.