pub struct ScrollableConfig {
pub scrollbar_size: f64,
pub always_show_scrollbar: bool,
}Expand description
Configuration for scrollable container
Fields§
§scrollbar_size: f64Width of scrollbar
always_show_scrollbar: boolWhether to always show scrollbar
Trait Implementations§
Source§impl Clone for ScrollableConfig
impl Clone for ScrollableConfig
Source§fn clone(&self) -> ScrollableConfig
fn clone(&self) -> ScrollableConfig
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 ScrollableConfig
impl Debug for ScrollableConfig
Source§impl Default for ScrollableConfig
impl Default for ScrollableConfig
Source§impl<'de> Deserialize<'de> for ScrollableConfig
impl<'de> Deserialize<'de> for ScrollableConfig
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 ScrollableConfig
impl RefUnwindSafe for ScrollableConfig
impl Send for ScrollableConfig
impl Sync for ScrollableConfig
impl Unpin for ScrollableConfig
impl UnsafeUnpin for ScrollableConfig
impl UnwindSafe for ScrollableConfig
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