pub struct ClientWindowRectState {
pub state: ClientWindowRectStateState,
pub width: Option<u64>,
pub height: Option<u64>,
pub x: Option<i64>,
pub y: Option<i64>,
}Fields§
§state: ClientWindowRectStateState§width: Option<u64>§height: Option<u64>§x: Option<i64>§y: Option<i64>Implementations§
Source§impl ClientWindowRectState
impl ClientWindowRectState
pub fn builder() -> ClientWindowRectStateBuilder
Source§impl ClientWindowRectState
impl ClientWindowRectState
pub fn new(state: impl Into<ClientWindowRectStateState>) -> Self
Source§impl ClientWindowRectState
impl ClientWindowRectState
pub const IDENTIFIER: &'static str = "browser.ClientWindowRectState"
pub const DOMAIN_DIRECTION: &'static str = "remote"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ClientWindowRectState
impl Clone for ClientWindowRectState
Source§fn clone(&self) -> ClientWindowRectState
fn clone(&self) -> ClientWindowRectState
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 Debug for ClientWindowRectState
impl Debug for ClientWindowRectState
Source§impl<'de> Deserialize<'de> for ClientWindowRectState
impl<'de> Deserialize<'de> for ClientWindowRectState
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 From<ClientWindowRectState> for ClientWindowNamedStateClientWindowRectStateUnion
impl From<ClientWindowRectState> for ClientWindowNamedStateClientWindowRectStateUnion
Source§fn from(v: ClientWindowRectState) -> Self
fn from(v: ClientWindowRectState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClientWindowRectState
impl PartialEq for ClientWindowRectState
Source§impl Serialize for ClientWindowRectState
impl Serialize for ClientWindowRectState
Source§impl TryFrom<ClientWindowNamedStateClientWindowRectStateUnion> for ClientWindowRectState
impl TryFrom<ClientWindowNamedStateClientWindowRectStateUnion> for ClientWindowRectState
Source§type Error = ClientWindowNamedStateClientWindowRectStateUnion
type Error = ClientWindowNamedStateClientWindowRectStateUnion
The type returned in the event of a conversion error.
impl StructuralPartialEq for ClientWindowRectState
Auto Trait Implementations§
impl Freeze for ClientWindowRectState
impl RefUnwindSafe for ClientWindowRectState
impl Send for ClientWindowRectState
impl Sync for ClientWindowRectState
impl Unpin for ClientWindowRectState
impl UnsafeUnpin for ClientWindowRectState
impl UnwindSafe for ClientWindowRectState
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more