pub struct DualPane {
pub left: Pane,
pub right: Pane,
pub active: PaneId,
}Fields§
§left: Pane§right: Pane§active: PaneIdImplementations§
Source§impl DualPane
impl DualPane
pub fn new(left_cwd: PathBuf, right_cwd: PathBuf) -> Self
pub fn active_pane(&self) -> &Pane
pub fn active_pane_mut(&mut self) -> &mut Pane
pub fn switch_active(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DualPane
impl RefUnwindSafe for DualPane
impl Send for DualPane
impl Sync for DualPane
impl Unpin for DualPane
impl UnsafeUnpin for DualPane
impl UnwindSafe for DualPane
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