Struct headless_chrome::protocol::cdp::LayerTree::StickyPositionConstraint
source · pub struct StickyPositionConstraint {
pub sticky_box_rect: Rect,
pub containing_block_rect: Rect,
pub nearest_layer_shifting_sticky_box: Option<LayerId>,
pub nearest_layer_shifting_containing_block: Option<LayerId>,
}Fields§
§sticky_box_rect: Rect§containing_block_rect: Rect§nearest_layer_shifting_sticky_box: Option<LayerId>§nearest_layer_shifting_containing_block: Option<LayerId>Trait Implementations§
source§impl Clone for StickyPositionConstraint
impl Clone for StickyPositionConstraint
source§fn clone(&self) -> StickyPositionConstraint
fn clone(&self) -> StickyPositionConstraint
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 StickyPositionConstraint
impl Debug for StickyPositionConstraint
source§impl<'de> Deserialize<'de> for StickyPositionConstraint
impl<'de> Deserialize<'de> for StickyPositionConstraint
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