[][src]Struct creator_tools::types::Graphics

pub struct Graphics {
    pub app_supports_hdr: Option<bool>,
    pub high_resolution_capable: Option<bool>,
    pub supports_automatic_graphics_switching: Option<bool>,
    pub gpu_eject_policy: Option<GPUEjectPolicy>,
    pub gpu_selection_policy: Option<GPUSelectionPolicy>,
}

Graphics.

Fields

app_supports_hdr: Option<bool>

A Boolean value indicating whether the app supports HDR mode on Apple TV 4K.

high_resolution_capable: Option<bool>

A Boolean value indicating whether the Cocoa app supports high-resolution displays.

supports_automatic_graphics_switching: Option<bool>

A Boolean value indicating whether an OpenGL app may utilize the integrated GPU.

gpu_eject_policy: Option<GPUEjectPolicy>

The preferred system action when an external GPU is connected from the system.

gpu_selection_policy: Option<GPUSelectionPolicy>

The app's preference for whether it wants to use external graphics processors.

Trait Implementations

impl Clone for Graphics[src]

impl Debug for Graphics[src]

impl Default for Graphics[src]

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

impl PartialEq<Graphics> for Graphics[src]

impl Serialize for Graphics[src]

impl StructuralPartialEq for Graphics[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.