pub struct SplitPaneScope { /* private fields */ }Expand description
A SplitPane and its builder.
Implementations§
Source§impl SplitPaneScope
impl SplitPaneScope
pub fn min(self, dp: f32) -> Self
pub fn max(self, dp: f32) -> Self
pub fn collapsible(self, collapsible: bool) -> Self
Sourcepub fn selected_index(self, index: usize) -> Self
pub fn selected_index(self, index: usize) -> Self
Which pane shows when only one fits: 0 the side pane, 1 the body.
pub fn on_change(self, handler: impl FnMut(f32) + 'static) -> Self
pub fn on_dismiss(self, handler: impl FnMut() + 'static) -> Self
Trait Implementations§
Source§impl Drop for SplitPaneScope
impl Drop for SplitPaneScope
Auto Trait Implementations§
impl !RefUnwindSafe for SplitPaneScope
impl !Send for SplitPaneScope
impl !Sync for SplitPaneScope
impl !UnwindSafe for SplitPaneScope
impl Freeze for SplitPaneScope
impl Unpin for SplitPaneScope
impl UnsafeUnpin for SplitPaneScope
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