Struct apple_bundle::info_plist::user_interface::Graphics
source · [−]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>,
}
Expand description
Graphics
Fields
app_supports_hdr: Option<bool>
A Boolean value indicating whether the app supports HDR mode on Apple TV 4K.
Availability
- tvOS 11.2+
Framework
- UIKit
high_resolution_capable: Option<bool>
A Boolean value indicating whether the Cocoa app supports high-resolution displays.
Availability
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
supports_automatic_graphics_switching: Option<bool>
A Boolean value indicating whether an OpenGL app may utilize the integrated GPU.
Availability
- macOS 10.7+
Framework
- Foundation
gpu_eject_policy: Option<GpuEjectPolicy>
The preferred system action when an external GPU is connected from the system.
Availability
- macOS 10.14+
Framework
- Metal
gpu_selection_policy: Option<GpuSelectionPolicy>
The app’s preference for whether it wants to use external graphics processors.
Availability
- macOS 10.14+
Framework
- Metal
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Graphics
impl<'de> Deserialize<'de> for Graphics
sourcefn 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
impl Eq for Graphics
impl StructuralEq for Graphics
impl StructuralPartialEq for Graphics
Auto Trait Implementations
impl RefUnwindSafe for Graphics
impl Send for Graphics
impl Sync for Graphics
impl Unpin for Graphics
impl UnwindSafe for Graphics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.