Struct swayipc_async::Output[][src]

#[non_exhaustive]pub struct Output {
    pub id: Option<i64>,
    pub name: String,
    pub make: String,
    pub model: String,
    pub serial: String,
    pub active: bool,
    pub dpms: bool,
    pub primary: bool,
    pub scale: Option<f64>,
    pub subpixel_hinting: Option<String>,
    pub transform: Option<String>,
    pub current_workspace: Option<String>,
    pub modes: Vec<Mode, Global>,
    pub current_mode: Option<Mode>,
    pub rect: Rect,
    pub focus: Vec<i32, Global>,
    pub focused: bool,
}

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: Option<i64>name: Stringmake: Stringmodel: Stringserial: Stringactive: booldpms: boolprimary: boolscale: Option<f64>subpixel_hinting: Option<String>transform: Option<String>current_workspace: Option<String>modes: Vec<Mode, Global>current_mode: Option<Mode>rect: Rectfocus: Vec<i32, Global>focused: bool

Trait Implementations

impl Debug for Output[src]

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

Auto Trait Implementations

impl RefUnwindSafe for Output

impl Send for Output

impl Sync for Output

impl Unpin for Output

impl UnwindSafe for Output

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.