pub struct SetShowScrollSnapOverlaysBuilder { /* private fields */ }Expand description
Builder for SetShowScrollSnapOverlays.
Implementations§
Source§impl SetShowScrollSnapOverlaysBuilder
impl SetShowScrollSnapOverlaysBuilder
Sourcepub fn scroll_snap_highlight_configs<VALUE: Into<Vec<ScrollSnapHighlightConfig>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn scroll_snap_highlight_configs<VALUE: Into<Vec<ScrollSnapHighlightConfig>>>( &mut self, value: VALUE, ) -> &mut Self
An array of node identifiers and descriptors for the highlight appearance.
Sourcepub fn build(
&self,
) -> Result<SetShowScrollSnapOverlays, SetShowScrollSnapOverlaysBuilderError>
pub fn build( &self, ) -> Result<SetShowScrollSnapOverlays, SetShowScrollSnapOverlaysBuilderError>
Trait Implementations§
Source§impl Clone for SetShowScrollSnapOverlaysBuilder
impl Clone for SetShowScrollSnapOverlaysBuilder
Source§fn clone(&self) -> SetShowScrollSnapOverlaysBuilder
fn clone(&self) -> SetShowScrollSnapOverlaysBuilder
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 SetShowScrollSnapOverlaysBuilder
impl RefUnwindSafe for SetShowScrollSnapOverlaysBuilder
impl Send for SetShowScrollSnapOverlaysBuilder
impl Sync for SetShowScrollSnapOverlaysBuilder
impl Unpin for SetShowScrollSnapOverlaysBuilder
impl UnsafeUnpin for SetShowScrollSnapOverlaysBuilder
impl UnwindSafe for SetShowScrollSnapOverlaysBuilder
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