pub struct SetShowScrollSnapOverlaysParams {
pub scroll_snap_highlight_configs: Vec<ScrollSnapHighlightConfig>,
}Fields§
§scroll_snap_highlight_configs: Vec<ScrollSnapHighlightConfig>An array of node identifiers and descriptors for the highlight appearance.
Implementations§
Source§impl SetShowScrollSnapOverlaysParams
impl SetShowScrollSnapOverlaysParams
pub fn new( scroll_snap_highlight_configs: Vec<ScrollSnapHighlightConfig>, ) -> Self
Trait Implementations§
Source§impl Clone for SetShowScrollSnapOverlaysParams
impl Clone for SetShowScrollSnapOverlaysParams
Source§fn clone(&self) -> SetShowScrollSnapOverlaysParams
fn clone(&self) -> SetShowScrollSnapOverlaysParams
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 moreSource§impl<'de> Deserialize<'de> for SetShowScrollSnapOverlaysParams
impl<'de> Deserialize<'de> for SetShowScrollSnapOverlaysParams
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
Source§impl PartialEq for SetShowScrollSnapOverlaysParams
impl PartialEq for SetShowScrollSnapOverlaysParams
Source§fn eq(&self, other: &SetShowScrollSnapOverlaysParams) -> bool
fn eq(&self, other: &SetShowScrollSnapOverlaysParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetShowScrollSnapOverlaysParams
Auto Trait Implementations§
impl Freeze for SetShowScrollSnapOverlaysParams
impl RefUnwindSafe for SetShowScrollSnapOverlaysParams
impl Send for SetShowScrollSnapOverlaysParams
impl Sync for SetShowScrollSnapOverlaysParams
impl Unpin for SetShowScrollSnapOverlaysParams
impl UnsafeUnpin for SetShowScrollSnapOverlaysParams
impl UnwindSafe for SetShowScrollSnapOverlaysParams
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