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,
}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.
Trait Implementations§
Source§impl Clone for PlanAsideSlot
impl Clone for PlanAsideSlot
Source§fn clone(&self) -> PlanAsideSlot
fn clone(&self) -> PlanAsideSlot
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 moreSource§impl Debug for PlanAsideSlot
impl Debug for PlanAsideSlot
Source§impl<'de> Deserialize<'de> for PlanAsideSlot
impl<'de> Deserialize<'de> for PlanAsideSlot
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
Source§impl PartialEq for PlanAsideSlot
impl PartialEq for PlanAsideSlot
Source§impl Serialize for PlanAsideSlot
impl Serialize for PlanAsideSlot
impl StructuralPartialEq for PlanAsideSlot
Auto Trait Implementations§
impl Freeze for PlanAsideSlot
impl RefUnwindSafe for PlanAsideSlot
impl Send for PlanAsideSlot
impl Sync for PlanAsideSlot
impl Unpin for PlanAsideSlot
impl UnsafeUnpin for PlanAsideSlot
impl UnwindSafe for PlanAsideSlot
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