pub struct PullToRefreshConfig {
pub modifier: Modifier,
pub indicator_color: Color,
pub threshold: f32,
pub content_alignment: AlignItems,
}Expand description
Configuration for pull-to-refresh.
Fields§
§modifier: Modifier§indicator_color: Color§threshold: f32§content_alignment: AlignItemsTrait Implementations§
Source§impl Clone for PullToRefreshConfig
impl Clone for PullToRefreshConfig
Source§fn clone(&self) -> PullToRefreshConfig
fn clone(&self) -> PullToRefreshConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PullToRefreshConfig
impl Debug for PullToRefreshConfig
Auto Trait Implementations§
impl !RefUnwindSafe for PullToRefreshConfig
impl !Send for PullToRefreshConfig
impl !Sync for PullToRefreshConfig
impl !UnwindSafe for PullToRefreshConfig
impl Freeze for PullToRefreshConfig
impl Unpin for PullToRefreshConfig
impl UnsafeUnpin for PullToRefreshConfig
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