pub struct PlanAsideSlot {
pub kind: SlotKind,
pub edge: Option<Edge>,
pub children: Vec<SurfaceId>,
pub active_child: Option<SurfaceId>,
pub visible: bool,
pub overlay: bool,
pub collapsed: bool,
}Expand description
One aside slot in the LayoutPresentationPlan: the aside area holds at
most one region per content kind (lxapp / browser / native); the region’s
contents are its tabs, in open order. Skins render ONE docked panel per
slot, with a header tab strip when children has more than one entry.
Fields§
§kind: SlotKind§edge: Option<Edge>Edge the slot docks to (the most recently placed child’s edge wins).
children: Vec<SurfaceId>Tab order = open order; never reordered.
active_child: Option<SurfaceId>The child the slot currently shows.
visible: boolAdmitted visible at this size class. Hidden slots stay alive and reappear when the container widens — they are never evicted.
overlay: boolTemporarily covers the main instead of consuming dock space. This is the compact projection and the fallback for an explicitly opened aside that physical admission cannot fit.
collapsed: boolThe user collapsed this slot from the shell. Children stay alive and keep their tabs; the region is simply not shown until something opens or focuses a child again.
Trait Implementations§
Source§impl Clone for PlanAsideSlot
impl Clone for PlanAsideSlot
Source§fn clone(&self) -> PlanAsideSlot
fn clone(&self) -> PlanAsideSlot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more