Struct chrome_remote_interface_model::layer_tree::StickyPositionConstraintBuilder [−][src]
This is supported on crate features
experimental
and LayerTree
and DOM
only.Implementations
impl StickyPositionConstraintBuilder
[src]
pub fn sticky_box_rect(&mut self, v: Rect) -> &mut Self
[src]
Layout rectangle of the sticky element before being shifted
pub fn containing_block_rect(&mut self, v: Rect) -> &mut Self
[src]
Layout rectangle of the containing block of the sticky element
pub fn nearest_layer_shifting_sticky_box(&mut self, v: LayerId) -> &mut Self
[src]
The nearest sticky layer that shifts the sticky box
pub fn nearest_layer_shifting_containing_block(
&mut self,
v: LayerId
) -> &mut Self
[src]
&mut self,
v: LayerId
) -> &mut Self
The nearest sticky layer that shifts the containing block
pub fn build(&mut self) -> Result<StickyPositionConstraint, &'static str>
[src]
Trait Implementations
impl Clone for StickyPositionConstraintBuilder
[src]
fn clone(&self) -> StickyPositionConstraintBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StickyPositionConstraintBuilder
[src]
impl Default for StickyPositionConstraintBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for StickyPositionConstraintBuilder
[src]
impl Send for StickyPositionConstraintBuilder
[src]
impl Sync for StickyPositionConstraintBuilder
[src]
impl Unpin for StickyPositionConstraintBuilder
[src]
impl UnwindSafe for StickyPositionConstraintBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,