pub struct SceneConfigurations {
pub application_session_role: Option<WindowSceneSessionRole>,
pub external_display_session_role: Option<WindowSceneSessionRole>,
}Expand description
Scene Configurations
Fields§
§application_session_role: Option<WindowSceneSessionRole>Scenes that you use to display content on the device’s main screen and respond to user interactions.
Use this key to specify the scene configurations for your app. Each scene corresponds to one you use for content you display on the device’s main screen. Make your app’s default scene the first entry in the array.
§Availability
- iOS 13.0+
§Framework
- UIKit
external_display_session_role: Option<WindowSceneSessionRole>Scenes that you use to display content on an externally connected display.
Use this key to specify the scene configurations you use when displaying content on an external display. Make the default scene the first entry in the array.
§Availability
- iOS 13.0+
§Framework
- UIKit
Trait Implementations§
Source§impl Clone for SceneConfigurations
impl Clone for SceneConfigurations
Source§fn clone(&self) -> SceneConfigurations
fn clone(&self) -> SceneConfigurations
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SceneConfigurations
impl Debug for SceneConfigurations
Source§impl Default for SceneConfigurations
impl Default for SceneConfigurations
Source§fn default() -> SceneConfigurations
fn default() -> SceneConfigurations
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SceneConfigurations
impl<'de> Deserialize<'de> for SceneConfigurations
Source§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
Source§impl PartialEq for SceneConfigurations
impl PartialEq for SceneConfigurations
Source§impl Serialize for SceneConfigurations
impl Serialize for SceneConfigurations
impl Eq for SceneConfigurations
impl StructuralPartialEq for SceneConfigurations
Auto Trait Implementations§
impl Freeze for SceneConfigurations
impl RefUnwindSafe for SceneConfigurations
impl Send for SceneConfigurations
impl Sync for SceneConfigurations
impl Unpin for SceneConfigurations
impl UnwindSafe for SceneConfigurations
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.