pub struct ScrollSnapContainerHighlightConfig {
pub snapport_border: Option<LineStyle>,
pub snap_area_border: Option<LineStyle>,
pub scroll_margin_color: Option<RGBA>,
pub scroll_padding_color: Option<RGBA>,
}Fields§
§snapport_border: Option<LineStyle>§snap_area_border: Option<LineStyle>§scroll_margin_color: Option<RGBA>§scroll_padding_color: Option<RGBA>Trait Implementations§
source§impl Clone for ScrollSnapContainerHighlightConfig
impl Clone for ScrollSnapContainerHighlightConfig
source§fn clone(&self) -> ScrollSnapContainerHighlightConfig
fn clone(&self) -> ScrollSnapContainerHighlightConfig
Returns a copy 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 ScrollSnapContainerHighlightConfig
impl<'de> Deserialize<'de> for ScrollSnapContainerHighlightConfig
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