pub struct ScrollSnapHighlightConfig { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Implementations§
Source§impl ScrollSnapHighlightConfig
impl ScrollSnapHighlightConfig
pub fn new( scroll_snap_container_highlight_config: ScrollSnapContainerHighlightConfig, node_id: NodeId, ) -> Self
Sourcepub fn scroll_snap_container_highlight_config(
&self,
) -> &ScrollSnapContainerHighlightConfig
pub fn scroll_snap_container_highlight_config( &self, ) -> &ScrollSnapContainerHighlightConfig
A descriptor for the highlight appearance of scroll snap containers.
Trait Implementations§
Source§impl Clone for ScrollSnapHighlightConfig
impl Clone for ScrollSnapHighlightConfig
Source§fn clone(&self) -> ScrollSnapHighlightConfig
fn clone(&self) -> ScrollSnapHighlightConfig
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 Debug for ScrollSnapHighlightConfig
impl Debug for ScrollSnapHighlightConfig
Source§impl<'de> Deserialize<'de> for ScrollSnapHighlightConfig
impl<'de> Deserialize<'de> for ScrollSnapHighlightConfig
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 Freeze for ScrollSnapHighlightConfig
impl RefUnwindSafe for ScrollSnapHighlightConfig
impl Send for ScrollSnapHighlightConfig
impl Sync for ScrollSnapHighlightConfig
impl Unpin for ScrollSnapHighlightConfig
impl UnwindSafe for ScrollSnapHighlightConfig
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