pub struct SplitPane { /* private fields */ }Expand description
One pane of a SplitPanes.
Implementations§
Source§impl SplitPane
impl SplitPane
Sourcepub fn new(content: impl View + 'static) -> Self
pub fn new(content: impl View + 'static) -> Self
A pane around content. Without Self::size, it takes the room the others leave.
Sourcepub fn size(self, size: f32) -> Self
pub fn size(self, size: f32) -> Self
Its size to start with along the stack, in logical pixels.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SplitPane
impl !Send for SplitPane
impl !Sync for SplitPane
impl !UnwindSafe for SplitPane
impl Freeze for SplitPane
impl Unpin for SplitPane
impl UnsafeUnpin for SplitPane
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