Struct cdp::emulation::ScreenOrientation
[−]
[src]
pub struct ScreenOrientation { pub ty: ScreenOrientationType, pub angle: i32, }
Screen orientation.
Fields
ty: ScreenOrientationType
Orientation type.
angle: i32
Orientation angle.
Trait Implementations
impl Clone for ScreenOrientation
[src]
fn clone(&self) -> ScreenOrientation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ScreenOrientation
[src]
impl PartialEq for ScreenOrientation
[src]
fn eq(&self, __arg_0: &ScreenOrientation) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ScreenOrientation) -> bool
[src]
This method tests for !=
.