Struct headless_chrome::protocol::cdp::Emulation::DisplayFeature
source · pub struct DisplayFeature {
pub orientation: DisplayFeatureOrientation,
pub offset: JsUInt,
pub mask_length: JsUInt,
}Fields§
§orientation: DisplayFeatureOrientation§offset: JsUInt§mask_length: JsUIntTrait Implementations§
source§impl Clone for DisplayFeature
impl Clone for DisplayFeature
source§fn clone(&self) -> DisplayFeature
fn clone(&self) -> DisplayFeature
Returns a copy 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 DisplayFeature
impl Debug for DisplayFeature
source§impl<'de> Deserialize<'de> for DisplayFeature
impl<'de> Deserialize<'de> for DisplayFeature
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