pub struct StickyPositionConstraintBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> StickyPositionConstraintBuilder<'a>
impl<'a> StickyPositionConstraintBuilder<'a>
Sourcepub fn nearestLayerShiftingStickyBox(
self,
nearestLayerShiftingStickyBox: LayerId<'a>,
) -> Self
pub fn nearestLayerShiftingStickyBox( self, nearestLayerShiftingStickyBox: LayerId<'a>, ) -> Self
The nearest sticky layer that shifts the sticky box
Sourcepub fn nearestLayerShiftingContainingBlock(
self,
nearestLayerShiftingContainingBlock: LayerId<'a>,
) -> Self
pub fn nearestLayerShiftingContainingBlock( self, nearestLayerShiftingContainingBlock: LayerId<'a>, ) -> Self
The nearest sticky layer that shifts the containing block
pub fn build(self) -> StickyPositionConstraint<'a>
Auto Trait Implementations§
impl<'a> Freeze for StickyPositionConstraintBuilder<'a>
impl<'a> RefUnwindSafe for StickyPositionConstraintBuilder<'a>
impl<'a> Send for StickyPositionConstraintBuilder<'a>
impl<'a> Sync for StickyPositionConstraintBuilder<'a>
impl<'a> Unpin for StickyPositionConstraintBuilder<'a>
impl<'a> UnsafeUnpin for StickyPositionConstraintBuilder<'a>
impl<'a> UnwindSafe for StickyPositionConstraintBuilder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more