pub struct Pane {
pub src: Box<dyn Source>,
pub idx: LineIndex,
pub viewport: Viewport,
pub last_revision: u64,
pub last_tick: Instant,
}Expand description
One side of a split: its own source, index, viewport, and per-pane follow/animation bookkeeping. The focused pane lives in app::run’s loose locals; this is the stashed partner swapped in on focus change.
Fields§
§src: Box<dyn Source>§idx: LineIndex§viewport: Viewport§last_revision: u64§last_tick: InstantAuto Trait Implementations§
impl !RefUnwindSafe for Pane
impl !UnwindSafe for Pane
impl Freeze for Pane
impl Send for Pane
impl Sync for Pane
impl Unpin for Pane
impl UnsafeUnpin for Pane
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