pub struct AndroidScreenResolution {
pub width: i32,
pub height: i32,
}Expand description
Raw screen resolution used by Android native control units.
Fields§
§width: i32Raw screenshot width reported by the control unit.
height: i32Raw screenshot height reported by the control unit.
Trait Implementations§
Source§impl Clone for AndroidScreenResolution
impl Clone for AndroidScreenResolution
Source§fn clone(&self) -> AndroidScreenResolution
fn clone(&self) -> AndroidScreenResolution
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 AndroidScreenResolution
impl Debug for AndroidScreenResolution
Source§impl<'de> Deserialize<'de> for AndroidScreenResolution
impl<'de> Deserialize<'de> for AndroidScreenResolution
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 PartialEq for AndroidScreenResolution
impl PartialEq for AndroidScreenResolution
Source§impl Serialize for AndroidScreenResolution
impl Serialize for AndroidScreenResolution
impl Copy for AndroidScreenResolution
impl Eq for AndroidScreenResolution
impl StructuralPartialEq for AndroidScreenResolution
Auto Trait Implementations§
impl Freeze for AndroidScreenResolution
impl RefUnwindSafe for AndroidScreenResolution
impl Send for AndroidScreenResolution
impl Sync for AndroidScreenResolution
impl Unpin for AndroidScreenResolution
impl UnsafeUnpin for AndroidScreenResolution
impl UnwindSafe for AndroidScreenResolution
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