pub struct WindowSceneSessionRole {
pub configuration_name: Option<String>,
pub class_name: Option<String>,
pub delegate_class_name: Option<String>,
pub storyboard_name: Option<String>,
}Expand description
Window Scene Session Role
Fields§
§configuration_name: Option<String>§class_name: Option<String>The name of the scene class you want UIKit to instantiate.
Specify UIWindowScene for scenes meant for your app or an external display. Do not specify UIScene.
§Availability
- iOS 13.0+
§Framework
- UIKit
delegate_class_name: Option<String>The name of the app-specific class that you want UIKit to instantiate and use as the scene delegate object.
The class you specify for this key must adopt the UISceneDelegate protocol. If the class you specify for the UISceneClassName key is UIWindowScene, your class must adopt the UIWindowSceneDelegate protocol.
§Availability
- iOS 13.0+
§Framework
- UIKit
storyboard_name: Option<String>The name of the storyboard file containing the scene’s initial user interface.
Specify the name of the storyboard file without the filename extension. For example, if the filename of your storyboard is Main.storyboard, specify Main as the value for this key.
§Availability
- iOS 13.0+
§Framework
- UIKit
Trait Implementations§
Source§impl Clone for WindowSceneSessionRole
impl Clone for WindowSceneSessionRole
Source§fn clone(&self) -> WindowSceneSessionRole
fn clone(&self) -> WindowSceneSessionRole
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WindowSceneSessionRole
impl Debug for WindowSceneSessionRole
Source§impl Default for WindowSceneSessionRole
impl Default for WindowSceneSessionRole
Source§fn default() -> WindowSceneSessionRole
fn default() -> WindowSceneSessionRole
Source§impl<'de> Deserialize<'de> for WindowSceneSessionRole
impl<'de> Deserialize<'de> for WindowSceneSessionRole
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>,
Source§impl PartialEq for WindowSceneSessionRole
impl PartialEq for WindowSceneSessionRole
Source§impl Serialize for WindowSceneSessionRole
impl Serialize for WindowSceneSessionRole
impl Eq for WindowSceneSessionRole
impl StructuralPartialEq for WindowSceneSessionRole
Auto Trait Implementations§
impl Freeze for WindowSceneSessionRole
impl RefUnwindSafe for WindowSceneSessionRole
impl Send for WindowSceneSessionRole
impl Sync for WindowSceneSessionRole
impl Unpin for WindowSceneSessionRole
impl UnwindSafe for WindowSceneSessionRole
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
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
key and return true if they are equal.