pub struct KittyWindow {
pub id: u64,
pub title: String,
pub is_focused: bool,
pub columns: u16,
pub lines: u16,
pub pid: Option<u32>,
pub cwd: Option<String>,
}Expand description
A kitty window as returned by kitty @ ls.
Fields§
§id: u64§title: String§is_focused: bool§columns: u16§lines: u16§pid: Option<u32>§cwd: Option<String>Trait Implementations§
Source§impl Clone for KittyWindow
impl Clone for KittyWindow
Source§fn clone(&self) -> KittyWindow
fn clone(&self) -> KittyWindow
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 KittyWindow
impl Debug for KittyWindow
Source§impl<'de> Deserialize<'de> for KittyWindow
impl<'de> Deserialize<'de> for KittyWindow
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
Auto Trait Implementations§
impl Freeze for KittyWindow
impl RefUnwindSafe for KittyWindow
impl Send for KittyWindow
impl Sync for KittyWindow
impl Unpin for KittyWindow
impl UnsafeUnpin for KittyWindow
impl UnwindSafe for KittyWindow
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