pub enum SplitTargetSpec {
Session(SessionName),
Pane(PaneRef),
}Expand description
SDK split target.
Variants§
Session(SessionName)
Split the active pane in the addressed session.
Pane(PaneRef)
Split the addressed pane directly.
Trait Implementations§
Source§impl Clone for SplitTargetSpec
impl Clone for SplitTargetSpec
Source§fn clone(&self) -> SplitTargetSpec
fn clone(&self) -> SplitTargetSpec
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 SplitTargetSpec
impl Debug for SplitTargetSpec
Source§impl<'de> Deserialize<'de> for SplitTargetSpec
impl<'de> Deserialize<'de> for SplitTargetSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SplitTargetSpec
Source§impl From<&SplitTargetSpec> for SplitWindowTarget
impl From<&SplitTargetSpec> for SplitWindowTarget
Source§fn from(value: &SplitTargetSpec) -> Self
fn from(value: &SplitTargetSpec) -> Self
Converts to this type from the input type.
Source§impl From<SplitTargetSpec> for SplitWindowTarget
impl From<SplitTargetSpec> for SplitWindowTarget
Source§fn from(value: SplitTargetSpec) -> Self
fn from(value: SplitTargetSpec) -> Self
Converts to this type from the input type.
Source§impl From<SplitWindowTarget> for SplitTargetSpec
impl From<SplitWindowTarget> for SplitTargetSpec
Source§fn from(value: SplitWindowTarget) -> Self
fn from(value: SplitWindowTarget) -> Self
Converts to this type from the input type.
Source§impl Hash for SplitTargetSpec
impl Hash for SplitTargetSpec
Source§impl PartialEq for SplitTargetSpec
impl PartialEq for SplitTargetSpec
Source§fn eq(&self, other: &SplitTargetSpec) -> bool
fn eq(&self, other: &SplitTargetSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SplitTargetSpec
impl Serialize for SplitTargetSpec
impl StructuralPartialEq for SplitTargetSpec
Auto Trait Implementations§
impl Freeze for SplitTargetSpec
impl RefUnwindSafe for SplitTargetSpec
impl Send for SplitTargetSpec
impl Sync for SplitTargetSpec
impl Unpin for SplitTargetSpec
impl UnsafeUnpin for SplitTargetSpec
impl UnwindSafe for SplitTargetSpec
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