Document main workspace structs (#9772)

This commit is contained in:
Kirill Bulatov 2024-03-25 16:09:51 +01:00 committed by GitHub
parent f83884518a
commit e3894a4e1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 31 additions and 0 deletions

View file

@ -140,6 +140,8 @@ impl From<&dyn PanelHandle> for AnyView {
}
}
/// A container with a fixed [`DockPosition`] adjacent to a certain widown edge.
/// Can contain multiple panels and show/hide itself with all contents.
pub struct Dock {
position: DockPosition,
panel_entries: Vec<PanelEntry>,