pub struct SessionPaneTarget { /* private fields */ }Expand description
A pane address within a single session.
Implementations§
Source§impl SessionPaneTarget
impl SessionPaneTarget
Sourcepub const fn new(window_index: u32, pane_index: u32) -> Self
pub const fn new(window_index: u32, pane_index: u32) -> Self
Creates a pane address from its containing window and pane indexes.
Sourcepub const fn window_index(&self) -> u32
pub const fn window_index(&self) -> u32
Returns the containing window index.
Sourcepub const fn pane_index(&self) -> u32
pub const fn pane_index(&self) -> u32
Returns the pane index inside the containing window.
Trait Implementations§
Source§impl Clone for SessionPaneTarget
impl Clone for SessionPaneTarget
Source§fn clone(&self) -> SessionPaneTarget
fn clone(&self) -> SessionPaneTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionPaneTarget
impl Debug for SessionPaneTarget
Source§impl From<&PaneTarget> for SessionPaneTarget
impl From<&PaneTarget> for SessionPaneTarget
Source§fn from(value: &PaneTarget) -> Self
fn from(value: &PaneTarget) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SessionPaneTarget
impl PartialEq for SessionPaneTarget
Source§fn eq(&self, other: &SessionPaneTarget) -> bool
fn eq(&self, other: &SessionPaneTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SessionPaneTarget
impl Eq for SessionPaneTarget
impl StructuralPartialEq for SessionPaneTarget
Auto Trait Implementations§
impl Freeze for SessionPaneTarget
impl RefUnwindSafe for SessionPaneTarget
impl Send for SessionPaneTarget
impl Sync for SessionPaneTarget
impl Unpin for SessionPaneTarget
impl UnsafeUnpin for SessionPaneTarget
impl UnwindSafe for SessionPaneTarget
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