pub enum StackMovePosition {
Before,
After,
End,
}Expand description
Position for LayoutStackMove: where block_id lands relative to
target_block_id in the destination leaf’s stack (or its own leaf’s
stack, for a same-leaf reorder). End ignores target_block_id’s own
position and appends after every existing member — target_block_id is
still used to locate which leaf.
SPEC_PANE_TAB_DRAG_AND_DROP_2026_09_19.md §4.1.
Variants§
Trait Implementations§
Source§impl Clone for StackMovePosition
impl Clone for StackMovePosition
Source§fn clone(&self) -> StackMovePosition
fn clone(&self) -> StackMovePosition
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 StackMovePosition
Source§impl Debug for StackMovePosition
impl Debug for StackMovePosition
Source§impl<'de> Deserialize<'de> for StackMovePosition
impl<'de> Deserialize<'de> for StackMovePosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StackMovePosition
Source§impl PartialEq for StackMovePosition
impl PartialEq for StackMovePosition
Source§impl Serialize for StackMovePosition
impl Serialize for StackMovePosition
impl StructuralPartialEq for StackMovePosition
Auto Trait Implementations§
impl Freeze for StackMovePosition
impl RefUnwindSafe for StackMovePosition
impl Send for StackMovePosition
impl Sync for StackMovePosition
impl Unpin for StackMovePosition
impl UnsafeUnpin for StackMovePosition
impl UnwindSafe for StackMovePosition
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