pub struct ScrollSnapContainerHighlightConfigBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> ScrollSnapContainerHighlightConfigBuilder<'a>
impl<'a> ScrollSnapContainerHighlightConfigBuilder<'a>
Sourcepub fn snapport_border(self, snapport_border: LineStyle<'a>) -> Self
pub fn snapport_border(self, snapport_border: LineStyle<'a>) -> Self
The style of the snapport border (default: transparent)
Sourcepub fn snap_area_border(self, snap_area_border: LineStyle<'a>) -> Self
pub fn snap_area_border(self, snap_area_border: LineStyle<'a>) -> Self
The style of the snap area border (default: transparent)
Sourcepub fn scroll_margin_color(self, scroll_margin_color: RGBA) -> Self
pub fn scroll_margin_color(self, scroll_margin_color: RGBA) -> Self
The margin highlight fill color (default: transparent).
Sourcepub fn scroll_padding_color(self, scroll_padding_color: RGBA) -> Self
pub fn scroll_padding_color(self, scroll_padding_color: RGBA) -> Self
The padding highlight fill color (default: transparent).
pub fn build(self) -> ScrollSnapContainerHighlightConfig<'a>
Trait Implementations§
Source§impl<'a> Default for ScrollSnapContainerHighlightConfigBuilder<'a>
impl<'a> Default for ScrollSnapContainerHighlightConfigBuilder<'a>
Source§fn default() -> ScrollSnapContainerHighlightConfigBuilder<'a>
fn default() -> ScrollSnapContainerHighlightConfigBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ScrollSnapContainerHighlightConfigBuilder<'a>
impl<'a> RefUnwindSafe for ScrollSnapContainerHighlightConfigBuilder<'a>
impl<'a> Send for ScrollSnapContainerHighlightConfigBuilder<'a>
impl<'a> Sync for ScrollSnapContainerHighlightConfigBuilder<'a>
impl<'a> Unpin for ScrollSnapContainerHighlightConfigBuilder<'a>
impl<'a> UnsafeUnpin for ScrollSnapContainerHighlightConfigBuilder<'a>
impl<'a> UnwindSafe for ScrollSnapContainerHighlightConfigBuilder<'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