Struct chromiumoxide_cdp::cdp::browser_protocol::emulation::DisplayFeature [−][src]
pub struct DisplayFeature { pub orientation: DisplayFeatureOrientation, pub offset: i64, pub mask_length: i64, }
Fields
orientation: DisplayFeatureOrientation
Orientation of a display feature in relation to screen
offset: i64
The offset from the screen origin in either the x (for vertical orientation) or y (for horizontal orientation) direction.
mask_length: i64
A display feature may mask content such that it is not physically displayed - this length along with the offset describes this area. A display feature that only splits content will have a 0 mask_length.
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DisplayFeature
impl Send for DisplayFeature
impl Sync for DisplayFeature
impl Unpin for DisplayFeature
impl UnwindSafe for DisplayFeature
Blanket Implementations
Mutably borrows from an owned value. Read more