pub struct StickyPositionConstraintBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> StickyPositionConstraintBuilder<'a>
impl<'a> StickyPositionConstraintBuilder<'a>
Sourcepub fn nearest_layer_shifting_sticky_box(
self,
nearest_layer_shifting_sticky_box: impl Into<LayerId<'a>>,
) -> Self
pub fn nearest_layer_shifting_sticky_box( self, nearest_layer_shifting_sticky_box: impl Into<LayerId<'a>>, ) -> Self
The nearest sticky layer that shifts the sticky box
Sourcepub fn nearest_layer_shifting_containing_block(
self,
nearest_layer_shifting_containing_block: impl Into<LayerId<'a>>,
) -> Self
pub fn nearest_layer_shifting_containing_block( self, nearest_layer_shifting_containing_block: impl Into<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