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) -> SplitPane
pub fn new(content: impl View + 'static) -> SplitPane
A pane around content. Without Self::size, it takes the room the others leave.
Sourcepub fn size(self, size: f32) -> SplitPane
pub fn size(self, size: f32) -> SplitPane
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§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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