pub struct DragStateStoreTransposed<__Lens, T: 'static> {
pub payload: Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>,
pub source: Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>,
pub over: Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>,
pub pointer: Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>,
pub grab: Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>,
pub effect: Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>,
pub mode: Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>,
pub pointer_kind: Store<PointerKind, MappedMutSignal<PointerKind, __Lens, fn(&DragState<T>) -> &PointerKind, fn(&mut DragState<T>) -> &mut PointerKind>>,
pub source_rect: Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>,
pub refocus: Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>,
pub settle: Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>,
}Fields§
§payload: Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>§source: Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>§over: Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>§pointer: Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>§grab: Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>§effect: Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>§mode: Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>§pointer_kind: Store<PointerKind, MappedMutSignal<PointerKind, __Lens, fn(&DragState<T>) -> &PointerKind, fn(&mut DragState<T>) -> &mut PointerKind>>§source_rect: Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>§refocus: Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>§settle: Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>Auto Trait Implementations§
impl<__Lens, T> !RefUnwindSafe for DragStateStoreTransposed<__Lens, T>
impl<__Lens, T> !UnwindSafe for DragStateStoreTransposed<__Lens, T>
impl<__Lens, T> Freeze for DragStateStoreTransposed<__Lens, T>where
Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>: Freeze,
Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>: Freeze,
Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>: Freeze,
Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>: Freeze,
Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>: Freeze,
Store<PointerKind, MappedMutSignal<PointerKind, __Lens, fn(&DragState<T>) -> &PointerKind, fn(&mut DragState<T>) -> &mut PointerKind>>: Freeze,
Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>: Freeze,
impl<__Lens, T> Send for DragStateStoreTransposed<__Lens, T>where
Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>: Send,
Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>: Send,
Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>: Send,
Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>: Send,
Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>: Send,
Store<PointerKind, MappedMutSignal<PointerKind, __Lens, fn(&DragState<T>) -> &PointerKind, fn(&mut DragState<T>) -> &mut PointerKind>>: Send,
Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>: Send,
impl<__Lens, T> Sync for DragStateStoreTransposed<__Lens, T>where
Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>: Sync,
Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>: Sync,
Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>: Sync,
Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>: Sync,
Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>: Sync,
Store<PointerKind, MappedMutSignal<PointerKind, __Lens, fn(&DragState<T>) -> &PointerKind, fn(&mut DragState<T>) -> &mut PointerKind>>: Sync,
Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>: Sync,
impl<__Lens, T> Unpin for DragStateStoreTransposed<__Lens, T>where
Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>: Unpin,
Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>: Unpin,
Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>: Unpin,
Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>: Unpin,
Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>: Unpin,
Store<PointerKind, MappedMutSignal<PointerKind, __Lens, fn(&DragState<T>) -> &PointerKind, fn(&mut DragState<T>) -> &mut PointerKind>>: Unpin,
Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>: Unpin,
impl<__Lens, T> UnsafeUnpin for DragStateStoreTransposed<__Lens, T>where
Store<Option<T>, MappedMutSignal<Option<T>, __Lens, fn(&DragState<T>) -> &Option<T>, fn(&mut DragState<T>) -> &mut Option<T>>>: UnsafeUnpin,
Store<Option<ZoneId>, MappedMutSignal<Option<ZoneId>, __Lens, fn(&DragState<T>) -> &Option<ZoneId>, fn(&mut DragState<T>) -> &mut Option<ZoneId>>>: UnsafeUnpin,
Store<Point, MappedMutSignal<Point, __Lens, fn(&DragState<T>) -> &Point, fn(&mut DragState<T>) -> &mut Point>>: UnsafeUnpin,
Store<DropEffect, MappedMutSignal<DropEffect, __Lens, fn(&DragState<T>) -> &DropEffect, fn(&mut DragState<T>) -> &mut DropEffect>>: UnsafeUnpin,
Store<DragMode, MappedMutSignal<DragMode, __Lens, fn(&DragState<T>) -> &DragMode, fn(&mut DragState<T>) -> &mut DragMode>>: UnsafeUnpin,
Store<PointerKind, MappedMutSignal<PointerKind, __Lens, fn(&DragState<T>) -> &PointerKind, fn(&mut DragState<T>) -> &mut PointerKind>>: UnsafeUnpin,
Store<Option<Rect>, MappedMutSignal<Option<Rect>, __Lens, fn(&DragState<T>) -> &Option<Rect>, fn(&mut DragState<T>) -> &mut Option<Rect>>>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
Source§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.