pub trait DragStateStoreExt<__Lens, T: 'static> {
// Required methods
fn payload(
self,
) -> Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>;
fn source(
self,
) -> Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>;
fn over(
self,
) -> Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>;
fn pointer(
self,
) -> Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>;
fn grab(
self,
) -> Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>;
fn effect(
self,
) -> Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>;
fn mode(
self,
) -> Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>;
fn pointer_kind(
self,
) -> Store<PointerKind, MappedMutSignal<PointerKind, __Lens, fn(&DragState<T>) -> &PointerKind, fn(&mut DragState<T>) -> &mut PointerKind>>;
fn source_rect(
self,
) -> Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>;
fn refocus(
self,
) -> Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>;
fn settle(
self,
) -> Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>;
fn transpose(self) -> DragStateStoreTransposed<__Lens, T>
where Self: Copy;
}Required Methods§
fn payload( self, ) -> Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>
fn source( self, ) -> Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>
fn over( self, ) -> Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>
fn pointer( self, ) -> Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>
fn grab( self, ) -> Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>
fn effect( self, ) -> Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>
fn mode( self, ) -> Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>
fn pointer_kind( self, ) -> Store<PointerKind, MappedMutSignal<PointerKind, __Lens, fn(&DragState<T>) -> &PointerKind, fn(&mut DragState<T>) -> &mut PointerKind>>
fn source_rect( self, ) -> Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>
fn refocus( self, ) -> Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>
fn settle( self, ) -> Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>
fn transpose(self) -> DragStateStoreTransposed<__Lens, T>where
Self: Copy,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".