Skip to main content

DragStateStoreExt

Trait DragStateStoreExt 

Source
pub trait DragStateStoreExt<__V, __Lens, T: 'static>: __DragStateStoreSealed {
    // Required methods
    fn payload(
        self,
    ) -> Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>
       where Self: __DragStateStoreVisibleInPub<__V>;
    fn source(
        self,
    ) -> Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>
       where Self: __DragStateStoreVisibleInPub<__V>;
    fn over(
        self,
    ) -> Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>
       where Self: __DragStateStoreVisibleInPub<__V>;
    fn pointer(
        self,
    ) -> Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>
       where Self: __DragStateStoreVisibleInPub<__V>;
    fn grab(
        self,
    ) -> Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>
       where Self: __DragStateStoreVisibleInPub<__V>;
    fn effect(
        self,
    ) -> Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>
       where Self: __DragStateStoreVisibleInPub<__V>;
    fn mode(
        self,
    ) -> Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>
       where Self: __DragStateStoreVisibleInPub<__V>;
    fn transpose(self) -> DragStateStoreTransposed<__Lens, T>
       where Self: Copy + __DragStateStoreVisibleInPub<__V>;
}

Required Methods§

Source

fn payload( self, ) -> Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source

fn source( self, ) -> Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source

fn over( self, ) -> Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source

fn pointer( self, ) -> Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source

fn grab( self, ) -> Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source

fn effect( self, ) -> Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source

fn mode( self, ) -> Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source

fn transpose(self) -> DragStateStoreTransposed<__Lens, T>
where Self: Copy + __DragStateStoreVisibleInPub<__V>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<__V, __Lens, T: 'static> DragStateStoreExt<__V, __Lens, T> for Store<DragState<T>, __Lens>

Source§

fn payload( self, ) -> Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source§

fn source( self, ) -> Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source§

fn over( self, ) -> Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source§

fn pointer( self, ) -> Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source§

fn grab( self, ) -> Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source§

fn effect( self, ) -> Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source§

fn mode( self, ) -> Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>
where Self: __DragStateStoreVisibleInPub<__V>,

Source§

fn transpose(self) -> DragStateStoreTransposed<__Lens, T>
where Self: Copy + __DragStateStoreVisibleInPub<__V>,

Implementors§