Struct swayipc_types::Output[][src]

#[non_exhaustive]
pub struct Output {
Show 17 fields 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>, pub current_mode: Option<Mode>, pub rect: Rect, pub focus: Vec<i32>, pub focused: bool,
}

Fields (Non-exhaustive)

This struct is marked as 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>current_mode: Option<Mode>rect: Rectfocus: Vec<i32>focused: bool

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.