struct RedockArgs {
block_id: String,
source_tab_id: String,
source_ws_id: String,
target_tab_id: String,
target_ws_id: String,
target_block_id: Option<String>,
direction: Option<u8>,
as_tab: bool,
members: Vec<String>,
active_block_id: String,
to_origin: bool,
}Expand description
The arguments of RedockFloatingPane, in the order the renderer sends them. The first five are required.
Fields§
§block_id: String§source_tab_id: String§source_ws_id: String§target_tab_id: String§target_ws_id: String§target_block_id: Option<String>Phase 4b: the optional direction hint from the ghost overlay. Both it and direction must be present
for a split; if either is absent the block is inserted.
direction: Option<u8>§as_tab: boolLand the block as a TAB of target_block_id’s pane (its stack, activated) instead of as a split/insert.
Used to roll a failed pane-tab tear-off back into the pane it came from
(SPEC_PANE_TAB_DRAG_AND_DROP_2026_09_19.md §3.5, design 6).
members: Vec<String>The floater’s whole tab stack, in order (block_id is its first member, the one that lands as the pane).
The rest land as tabs of that pane, so a torn-off pane goes back as it left. Absent → just block_id.
active_block_id: StringWhich of the members is visible.
to_origin: boolThe Redock button and pane:redock: back where the pane was torn from, when that place can still be
found; the target above is then only the fallback. A drag redock names its own target and leaves this off.
SPEC_FLOATING_PANE_REDOCK_TO_ORIGIN_2026_11_03.md.
Implementations§
Auto Trait Implementations§
impl Freeze for RedockArgs
impl RefUnwindSafe for RedockArgs
impl Send for RedockArgs
impl Sync for RedockArgs
impl Unpin for RedockArgs
impl UnsafeUnpin for RedockArgs
impl UnwindSafe for RedockArgs
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
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> ⓘ
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 more