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 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 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".