pub struct GrabInfo<P, I> {
pub pos: P,
pub state: GrabState<I>,
pub time: f32,
pub moved: Option<P>,
/* private fields */
}Fields§
§pos: P§state: GrabState<I>§time: f32§moved: Option<P>Implementations§
Source§impl<P: Copy, I: Copy> GrabInfo<P, I>
impl<P: Copy, I: Copy> GrabInfo<P, I>
pub fn hold<S: Selector<Position = P>>(
&mut self,
selector: &S,
selectable: &mut S::Selectable,
)where
S::Selectable: Selectable<Index = I>,
Auto Trait Implementations§
impl<P, I> Freeze for GrabInfo<P, I>
impl<P, I> RefUnwindSafe for GrabInfo<P, I>where
P: RefUnwindSafe,
I: RefUnwindSafe,
impl<P, I> Send for GrabInfo<P, I>
impl<P, I> Sync for GrabInfo<P, I>
impl<P, I> Unpin for GrabInfo<P, I>
impl<P, I> UnwindSafe for GrabInfo<P, I>where
P: UnwindSafe,
I: 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