[][src]Struct swayipc_async::Window

#[non_exhaustive]pub struct Window {
    pub id: i32,
    pub name: Option<String>,
    pub border: NodeBorder,
    pub current_border_width: i32,
    pub layout: NodeLayout,
    pub percent: Option<f64>,
    pub rect: Rect,
    pub window_rect: Rect,
    pub deco_rect: Rect,
    pub geometry: Rect,
    pub urgent: bool,
    pub focused: bool,
    pub sticky: bool,
    pub fullscreen_mode: Option<u8>,
    pub app_id: Option<String>,
    pub pid: i32,
    pub window: Option<i32>,
    pub window_properties: Option<WindowProperties>,
    pub marks: Vec<String>,
    pub inhibit_idle: bool,
    pub idle_inhibitors: IdleInhibitors,
    pub shell: ShellType,
}

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
id: i32name: Option<String>border: NodeBordercurrent_border_width: i32layout: NodeLayoutpercent: Option<f64>rect: Rectwindow_rect: Rectdeco_rect: Rectgeometry: Recturgent: boolfocused: boolsticky: boolfullscreen_mode: Option<u8>app_id: Option<String>pid: i32window: Option<i32>window_properties: Option<WindowProperties>marks: Vec<String>inhibit_idle: boolidle_inhibitors: IdleInhibitorsshell: ShellType

Trait Implementations

impl Debug for Window[src]

impl<'de> Deserialize<'de> for Window[src]

Auto Trait Implementations

impl RefUnwindSafe for Window

impl Send for Window

impl Sync for Window

impl Unpin for Window

impl UnwindSafe for Window

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.