pub struct SplitStrategy { /* private fields */ }Expand description
Builder for split (two panels with configurable ratio and direction).
Implementations§
Source§impl SplitStrategy
impl SplitStrategy
Sourcepub fn with_panels(
self,
first: impl Into<Arc<str>>,
second: impl Into<Arc<str>>,
) -> BoundStrategy
pub fn with_panels( self, first: impl Into<Arc<str>>, second: impl Into<Arc<str>>, ) -> BoundStrategy
Bind two named panels directly.
Trait Implementations§
Source§impl Clone for SplitStrategy
impl Clone for SplitStrategy
Source§fn clone(&self) -> SplitStrategy
fn clone(&self) -> SplitStrategy
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 SplitStrategy
impl Debug for SplitStrategy
Source§impl From<SplitStrategy> for Strategy
impl From<SplitStrategy> for Strategy
Source§fn from(builder: SplitStrategy) -> Self
fn from(builder: SplitStrategy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SplitStrategy
impl RefUnwindSafe for SplitStrategy
impl Send for SplitStrategy
impl Sync for SplitStrategy
impl Unpin for SplitStrategy
impl UnsafeUnpin for SplitStrategy
impl UnwindSafe for SplitStrategy
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