pub enum WindowState {
Normal,
Minimized,
Maximized,
Fullscreen,
Unrecognized(String),
}Expand description
The state of the target window.
Experimental: may change without notice.
Variants§
Normal
normal
Minimized
minimized
Maximized
maximized
Fullscreen
fullscreen
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for WindowState
impl Clone for WindowState
Source§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<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
impl Eq for WindowState
Source§impl Hash for WindowState
impl Hash for WindowState
Source§impl PartialEq for WindowState
impl PartialEq for WindowState
Source§impl Serialize for WindowState
impl Serialize for WindowState
impl StructuralPartialEq for WindowState
Auto Trait Implementations§
impl Forget for WindowState
impl Freeze for WindowState
impl RefUnwindSafe for WindowState
impl Send for WindowState
impl Sync for WindowState
impl Unpin for WindowState
impl UnsafeUnpin 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