Struct freya::prelude::ScrollThumbProps
source · pub struct ScrollThumbProps<'a> { /* private fields */ }
Implementations§
source§impl<'a> ScrollThumbProps<'a>
impl<'a> ScrollThumbProps<'a>
sourcepub fn builder() -> ScrollThumbPropsBuilder<'a, ((), (), (), ())>
pub fn builder() -> ScrollThumbPropsBuilder<'a, ((), (), (), ())>
Create a builder for building ScrollThumbProps
.
On the builder, call .clicking_scrollbar(...)
, .onmousedown(...)
, .width(...)
, .height(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ScrollThumbProps
.
Trait Implementations§
source§impl<'a> Properties for ScrollThumbProps<'a>
impl<'a> Properties for ScrollThumbProps<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ScrollThumbProps<'a>
impl<'a> !Send for ScrollThumbProps<'a>
impl<'a> !Sync for ScrollThumbProps<'a>
impl<'a> Unpin for ScrollThumbProps<'a>
impl<'a> !UnwindSafe for ScrollThumbProps<'a>
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