pub struct ActivePanelStrategy { /* private fields */ }Expand description
Builder for StrategyKind::ActivePanel (monocle, tabbed, stacked).
Implementations§
Source§impl ActivePanelStrategy
impl ActivePanelStrategy
Sourcepub fn with_panels(
self,
panels: impl IntoIterator<Item = impl Into<Arc<str>>>,
) -> BoundStrategy
pub fn with_panels( self, panels: impl IntoIterator<Item = impl Into<Arc<str>>>, ) -> BoundStrategy
Bind panels directly.
Source§impl ActivePanelStrategy
impl ActivePanelStrategy
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 height).
Trait Implementations§
Source§impl Clone for ActivePanelStrategy
impl Clone for ActivePanelStrategy
Source§fn clone(&self) -> ActivePanelStrategy
fn clone(&self) -> ActivePanelStrategy
Returns a duplicate of the value. Read more
1.0.0 · 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 ActivePanelStrategy
impl Debug for ActivePanelStrategy
Source§impl From<ActivePanelStrategy> for Strategy
impl From<ActivePanelStrategy> for Strategy
Source§fn from(builder: ActivePanelStrategy) -> Self
fn from(builder: ActivePanelStrategy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActivePanelStrategy
impl RefUnwindSafe for ActivePanelStrategy
impl Send for ActivePanelStrategy
impl Sync for ActivePanelStrategy
impl Unpin for ActivePanelStrategy
impl UnsafeUnpin for ActivePanelStrategy
impl UnwindSafe for ActivePanelStrategy
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