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: String
make: String
model: String
serial: String
active: bool
dpms: bool
primary: bool
scale: Option<f64>
subpixel_hinting: Option<String>
transform: Option<String>
current_workspace: Option<String>
modes: Vec<Mode>
current_mode: Option<Mode>
rect: Rect
focus: Vec<i32>
focused: bool
Trait Implementations
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