Struct freya::prelude::ScrollThumbProps
pub struct ScrollThumbProps<'a> { /* private fields */ }
Implementations§
§impl<'a> ScrollThumbProps<'a>
impl<'a> ScrollThumbProps<'a>
pub 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§
§impl<'a> Properties for ScrollThumbProps<'a>
impl<'a> Properties for ScrollThumbProps<'a>
§type Builder = ScrollThumbPropsBuilder<'a, ((), (), (), ())>
type Builder = ScrollThumbPropsBuilder<'a, ((), (), (), ())>
The type of the builder for this component.
Used to create “in-progress” versions of the props.
§fn builder() -> <ScrollThumbProps<'a> as Properties>::Builder
fn builder() -> <ScrollThumbProps<'a> as Properties>::Builder
Create a builder for this component.
§unsafe fn memoize(&self, other: &ScrollThumbProps<'a>) -> bool
unsafe fn memoize(&self, other: &ScrollThumbProps<'a>) -> bool
Memoization can only happen if the props are valid for the ’static lifetime Read more
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