pub struct SetShowScrollSnapOverlaysParams<'a> { /* private fields */ }Implementations§
Source§impl<'a> SetShowScrollSnapOverlaysParams<'a>
impl<'a> SetShowScrollSnapOverlaysParams<'a>
Sourcepub fn builder(
scroll_snap_highlight_configs: Vec<ScrollSnapHighlightConfig<'a>>,
) -> SetShowScrollSnapOverlaysParamsBuilder<'a>
pub fn builder( scroll_snap_highlight_configs: Vec<ScrollSnapHighlightConfig<'a>>, ) -> SetShowScrollSnapOverlaysParamsBuilder<'a>
Creates a builder for this type with the required parameters:
scroll_snap_highlight_configs: An array of node identifiers and descriptors for the highlight appearance.
Sourcepub fn scroll_snap_highlight_configs(&self) -> &[ScrollSnapHighlightConfig<'a>]
pub fn scroll_snap_highlight_configs(&self) -> &[ScrollSnapHighlightConfig<'a>]
An array of node identifiers and descriptors for the highlight appearance.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetShowScrollSnapOverlaysParams<'a>
impl<'a> CdpCommand<'a> for SetShowScrollSnapOverlaysParams<'a>
Source§impl<'a> Clone for SetShowScrollSnapOverlaysParams<'a>
impl<'a> Clone for SetShowScrollSnapOverlaysParams<'a>
Source§fn clone(&self) -> SetShowScrollSnapOverlaysParams<'a>
fn clone(&self) -> SetShowScrollSnapOverlaysParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SetShowScrollSnapOverlaysParams<'a>
impl<'a> Debug for SetShowScrollSnapOverlaysParams<'a>
Source§impl<'a> Default for SetShowScrollSnapOverlaysParams<'a>
impl<'a> Default for SetShowScrollSnapOverlaysParams<'a>
Source§fn default() -> SetShowScrollSnapOverlaysParams<'a>
fn default() -> SetShowScrollSnapOverlaysParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetShowScrollSnapOverlaysParams<'a>
impl<'de, 'a> Deserialize<'de> for SetShowScrollSnapOverlaysParams<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for SetShowScrollSnapOverlaysParams<'a>
impl<'a> RefUnwindSafe for SetShowScrollSnapOverlaysParams<'a>
impl<'a> Send for SetShowScrollSnapOverlaysParams<'a>
impl<'a> Sync for SetShowScrollSnapOverlaysParams<'a>
impl<'a> Unpin for SetShowScrollSnapOverlaysParams<'a>
impl<'a> UnsafeUnpin for SetShowScrollSnapOverlaysParams<'a>
impl<'a> UnwindSafe for SetShowScrollSnapOverlaysParams<'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