Struct chromiumoxide_cdp::cdp::browser_protocol::layer_tree::StickyPositionConstraint [−][src]
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>, }
Expand description
Sticky position constraints. StickyPositionConstraint
Fields
sticky_box_rect: Rect
Layout rectangle of the sticky element before being shifted
containing_block_rect: Rect
Layout rectangle of the containing block of the sticky element
nearest_layer_shifting_sticky_box: Option<LayerId>
The nearest sticky layer that shifts the sticky box
nearest_layer_shifting_containing_block: Option<LayerId>
The nearest sticky layer that shifts the containing block
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 StickyPositionConstraint
impl Send for StickyPositionConstraint
impl Sync for StickyPositionConstraint
impl Unpin for StickyPositionConstraint
impl UnwindSafe for StickyPositionConstraint
Blanket Implementations
Mutably borrows from an owned value. Read more