pub struct ScrollSnapContainerHighlightConfigBuilder { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Implementations§
Source§impl ScrollSnapContainerHighlightConfigBuilder
impl ScrollSnapContainerHighlightConfigBuilder
Sourcepub fn snapport_border(&mut self, v: LineStyle) -> &mut Self
pub fn snapport_border(&mut self, v: LineStyle) -> &mut Self
The style of the snapport border (default: transparent)
Sourcepub fn snap_area_border(&mut self, v: LineStyle) -> &mut Self
pub fn snap_area_border(&mut self, v: LineStyle) -> &mut Self
The style of the snap area border (default: transparent)
Sourcepub fn scroll_margin_color(&mut self, v: Rgba) -> &mut Self
pub fn scroll_margin_color(&mut self, v: Rgba) -> &mut Self
The margin highlight fill color (default: transparent).
Sourcepub fn scroll_padding_color(&mut self, v: Rgba) -> &mut Self
pub fn scroll_padding_color(&mut self, v: Rgba) -> &mut Self
The padding highlight fill color (default: transparent).
pub fn build( &mut self, ) -> Result<ScrollSnapContainerHighlightConfig, &'static str>
Trait Implementations§
Source§impl Clone for ScrollSnapContainerHighlightConfigBuilder
impl Clone for ScrollSnapContainerHighlightConfigBuilder
Source§fn clone(&self) -> ScrollSnapContainerHighlightConfigBuilder
fn clone(&self) -> ScrollSnapContainerHighlightConfigBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ScrollSnapContainerHighlightConfigBuilder
impl RefUnwindSafe for ScrollSnapContainerHighlightConfigBuilder
impl Send for ScrollSnapContainerHighlightConfigBuilder
impl Sync for ScrollSnapContainerHighlightConfigBuilder
impl Unpin for ScrollSnapContainerHighlightConfigBuilder
impl UnwindSafe for ScrollSnapContainerHighlightConfigBuilder
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