pub struct Drag<S, R, V, E>where
R: Fn(&mut V, &mut ViewContext<'_, V>) -> E,
V: 'static,
E: RenderOnce,{
pub state: S,
pub render_drag_handle: R,
/* private fields */
}
Fields§
§state: S
§render_drag_handle: R
Implementations§
Auto Trait Implementations§
impl<S, R, V, E> RefUnwindSafe for Drag<S, R, V, E>where E: RefUnwindSafe, R: RefUnwindSafe, S: RefUnwindSafe, V: RefUnwindSafe,
impl<S, R, V, E> Send for Drag<S, R, V, E>where E: Send, R: Send, S: Send, V: Send,
impl<S, R, V, E> Sync for Drag<S, R, V, E>where E: Sync, R: Sync, S: Sync, V: Sync,
impl<S, R, V, E> Unpin for Drag<S, R, V, E>where E: Unpin, R: Unpin, S: Unpin, V: Unpin,
impl<S, R, V, E> UnwindSafe for Drag<S, R, V, E>where E: UnwindSafe, R: UnwindSafe, S: UnwindSafe, V: UnwindSafe,
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