pub enum DropPosition {
Before,
Into,
After,
}Expand description
Where, relative to a target row, a drop lands. Into (reparent) is only
meaningful for trees; flat lists reject it.
Variants§
Before
Immediately before the target (sibling, same level).
Into
As a child of the target (reparent — trees only).
After
Immediately after the target (sibling, same level).
Trait Implementations§
Source§impl Clone for DropPosition
impl Clone for DropPosition
Source§fn clone(&self) -> DropPosition
fn clone(&self) -> DropPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DropPosition
Source§impl Debug for DropPosition
impl Debug for DropPosition
impl Eq for DropPosition
Source§impl PartialEq for DropPosition
impl PartialEq for DropPosition
Source§fn eq(&self, other: &DropPosition) -> bool
fn eq(&self, other: &DropPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DropPosition
Auto Trait Implementations§
impl Freeze for DropPosition
impl RefUnwindSafe for DropPosition
impl Send for DropPosition
impl Sync for DropPosition
impl Unpin for DropPosition
impl UnsafeUnpin for DropPosition
impl UnwindSafe for DropPosition
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