pub struct Props {
pub horizontal: bool,
pub vertical: bool,
pub color: Color,
pub width: f64,
pub draggable_width: f64,
pub round: bool,
pub hide_time: Option<f64>,
pub scroll_option: ScrollOption,
pub custom_vertical_thumb: Option<Html>,
pub custom_horizontal_thumb: Option<Html>,
pub children: Children,
}Expand description
Props for ScrollArea.
Fields§
§horizontal: bool§vertical: bool§color: Color§width: f64§draggable_width: f64§round: bool§hide_time: Option<f64>§scroll_option: ScrollOption§custom_vertical_thumb: Option<Html>§custom_horizontal_thumb: Option<Html>§children: ChildrenTrait Implementations§
Source§impl Properties for Props
impl Properties for Props
impl StructuralPartialEq for Props
Auto Trait Implementations§
impl Freeze for Props
impl !RefUnwindSafe for Props
impl !Send for Props
impl !Sync for Props
impl Unpin for Props
impl !UnwindSafe for Props
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
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.