pub struct Pane { /* private fields */ }Expand description
Pure in-memory pane state.
Implementations§
Source§impl Pane
impl Pane
Sourcepub const fn geometry(&self) -> PaneGeometry
pub const fn geometry(&self) -> PaneGeometry
Returns the pane’s current geometry.
Sourcepub const fn active_point(&self) -> u64
pub const fn active_point(&self) -> u64
Monotonic per-window activation counter (tmux active_point):
bumped each time this pane becomes the window’s active pane.
Sourcepub const fn created_at(&self) -> i64
pub const fn created_at(&self) -> i64
Returns the pane creation timestamp as Unix seconds.
Sourcepub const fn activity_at(&self) -> i64
pub const fn activity_at(&self) -> i64
Returns the last pane activity timestamp as Unix seconds.
Sourcepub fn target(&self, session_name: &SessionName) -> PaneTarget
pub fn target(&self, session_name: &SessionName) -> PaneTarget
Builds an exact pane target for this pane in the given session.
Trait Implementations§
impl Eq for Pane
impl StructuralPartialEq for Pane
Auto Trait Implementations§
impl Freeze for Pane
impl RefUnwindSafe for Pane
impl Send for Pane
impl Sync for Pane
impl Unpin for Pane
impl UnsafeUnpin for Pane
impl UnwindSafe 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