pub struct ActivePanelPreset { /* private fields */ }Expand description
Shared builder for active-panel preset layouts (tabbed, stacked).
Both variants share the same field set, validation, and runtime wiring. The layout structure differs only in how decoration panels are arranged: tabbed uses a single row-direction tab bar, stacked uses per-panel title bars.
Implementations§
Source§impl ActivePanelPreset
impl ActivePanelPreset
Sourcepub fn bar_height(self, height: f32) -> Self
pub fn bar_height(self, height: f32) -> Self
Set the bar height (tab bar or title bar).
Source§impl ActivePanelPreset
impl ActivePanelPreset
Sourcepub fn into_runtime(self) -> Result<LayoutRuntime, PaneError>
pub fn into_runtime(self) -> Result<LayoutRuntime, PaneError>
Consume the builder and produce a crate::runtime::LayoutRuntime.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActivePanelPreset
impl RefUnwindSafe for ActivePanelPreset
impl Send for ActivePanelPreset
impl Sync for ActivePanelPreset
impl Unpin for ActivePanelPreset
impl UnsafeUnpin for ActivePanelPreset
impl UnwindSafe for ActivePanelPreset
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