pub struct DefaultDragHandler<C>(/* private fields */);Trait Implementations§
Source§impl<C: Clone> Clone for DefaultDragHandler<C>
impl<C: Clone> Clone for DefaultDragHandler<C>
Source§fn clone(&self) -> DefaultDragHandler<C>
fn clone(&self) -> DefaultDragHandler<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C> Default for DefaultDragHandler<C>
impl<C> Default for DefaultDragHandler<C>
Source§impl<C> DragHandler<C> for DefaultDragHandler<C>
impl<C> DragHandler<C> for DefaultDragHandler<C>
Source§fn received_drop(
&self,
drag_state: DragStateRwSignal<Column>,
columns: RwSignal<Vec<Column>>,
_column: Column,
_event: DragEvent,
)
fn received_drop( &self, drag_state: DragStateRwSignal<Column>, columns: RwSignal<Vec<Column>>, _column: Column, _event: DragEvent, )
Cursor is above column and dropped the column it was dragging.
Source§fn dragging_over(
&self,
drag_state_carrier: DragStateRwSignal<Column>,
column: Column,
event: DragEvent,
)
fn dragging_over( &self, drag_state_carrier: DragStateRwSignal<Column>, column: Column, event: DragEvent, )
Cursor is moving above column while dragging.
Source§fn drag_leave(
&self,
_drag_state: DragStateRwSignal<Column>,
_column: Column,
_event: DragEvent,
)
fn drag_leave( &self, _drag_state: DragStateRwSignal<Column>, _column: Column, _event: DragEvent, )
Cursor moves out of column
Source§fn drag_start(
&self,
drag_state: DragStateRwSignal<Column>,
column: Column,
_event: DragEvent,
)
fn drag_start( &self, drag_state: DragStateRwSignal<Column>, column: Column, _event: DragEvent, )
Started dragging column.
Source§fn drag_end(
&self,
drag_state: DragStateRwSignal<Column>,
columns: RwSignal<Vec<Column>>,
_column: Column,
_event: DragEvent,
)
fn drag_end( &self, drag_state: DragStateRwSignal<Column>, columns: RwSignal<Vec<Column>>, _column: Column, _event: DragEvent, )
Dragging ended.
Source§fn get_drag_classes(
&self,
drag_state: DragStateRwSignal<Column>,
column: Column,
columns: RwSignal<Vec<Column>>,
) -> Signal<String>
fn get_drag_classes( &self, drag_state: DragStateRwSignal<Column>, column: Column, columns: RwSignal<Vec<Column>>, ) -> Signal<String>
Classes for columns.
Intended to react to drag events to show highlights via classes.
fn grabbed_class(&self) -> &'static str
fn hover_left_class(&self) -> &'static str
fn hover_right_class(&self) -> &'static str
impl<C: Copy> Copy for DefaultDragHandler<C>
Auto Trait Implementations§
impl<C> Freeze for DefaultDragHandler<C>
impl<C> RefUnwindSafe for DefaultDragHandler<C>where
C: RefUnwindSafe,
impl<C> Send for DefaultDragHandler<C>where
C: Send,
impl<C> Sync for DefaultDragHandler<C>where
C: Sync,
impl<C> Unpin for DefaultDragHandler<C>where
C: Unpin,
impl<C> UnwindSafe for DefaultDragHandler<C>where
C: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<El, T, Marker> IntoElementMaybeSignal<T, Marker> for Elwhere
El: IntoElementMaybeSignalType<T, Marker>,
impl<El, T, Marker> IntoElementMaybeSignal<T, Marker> for Elwhere
El: IntoElementMaybeSignalType<T, Marker>,
fn into_element_maybe_signal(self) -> ElementMaybeSignal<T>
Source§impl<T, Js> IntoElementMaybeSignalType<T, Element> for Js
impl<T, Js> IntoElementMaybeSignalType<T, Element> for Js
fn into_element_maybe_signal_type(self) -> ElementMaybeSignalType<T>
Source§impl<El, T, Marker> IntoElementsMaybeSignal<T, Marker> for Elwhere
El: IntoElementsMaybeSignalType<T, Marker>,
impl<El, T, Marker> IntoElementsMaybeSignal<T, Marker> for Elwhere
El: IntoElementsMaybeSignalType<T, Marker>,
fn into_elements_maybe_signal(self) -> ElementsMaybeSignal<T>
Source§impl<T, Js> IntoElementsMaybeSignalType<T, Element> for Js
impl<T, Js> IntoElementsMaybeSignalType<T, Element> for Js
fn into_elements_maybe_signal_type(self) -> ElementsMaybeSignalType<T>
Source§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.