pub struct ToastSwipeConfig {
pub direction: ToastSwipeDirection,
pub threshold: Px,
pub max_drag: Px,
pub dragging_threshold: Px,
}Fields§
§direction: ToastSwipeDirection§threshold: Px§max_drag: Px§dragging_threshold: PxTrait Implementations§
Source§impl Clone for ToastSwipeConfig
impl Clone for ToastSwipeConfig
Source§fn clone(&self) -> ToastSwipeConfig
fn clone(&self) -> ToastSwipeConfig
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 ToastSwipeConfig
impl Debug for ToastSwipeConfig
Source§impl Default for ToastSwipeConfig
impl Default for ToastSwipeConfig
Source§impl PartialEq for ToastSwipeConfig
impl PartialEq for ToastSwipeConfig
impl Copy for ToastSwipeConfig
impl StructuralPartialEq for ToastSwipeConfig
Auto Trait Implementations§
impl Freeze for ToastSwipeConfig
impl RefUnwindSafe for ToastSwipeConfig
impl Send for ToastSwipeConfig
impl Sync for ToastSwipeConfig
impl Unpin for ToastSwipeConfig
impl UnsafeUnpin for ToastSwipeConfig
impl UnwindSafe for ToastSwipeConfig
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