Struct nw_sys::screen::ScreenInfo

source ·
pub struct ScreenInfo {
    pub id: u64,
    pub scale_factor: f64,
    pub is_built_in: bool,
    pub rotation: u64,
    pub touch_support: u64,
    pub bounds: Bounds,
    pub work_area: WorkArea,
}
Expand description

Screen Info

Fields§

§id: u64§scale_factor: f64§is_built_in: bool§rotation: u64§touch_support: u64§bounds: Bounds§work_area: WorkArea

Trait Implementations§

Formats the value using the given formatter. Read more
The type returned in the event of a conversion error.
Performs the conversion.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.