Struct cacao::uikit::SceneConfig
source · [−]pub struct SceneConfig(_);
Available on crate feature
uikit
only.Expand description
A wrapper for UISceneConfiguration.
Due to the way we have to implement this, you likely never need to touch this.
Implementations
sourceimpl SceneConfig
impl SceneConfig
sourcepub fn new(name: &str, role: SessionRole) -> Self
pub fn new(name: &str, role: SessionRole) -> Self
Creates a new UISceneConfiguration
with the specified name and session role, retains it,
and returns it.
sourcepub fn into_inner(self) -> id
pub fn into_inner(self) -> id
Consumes and returns the underlying UISceneConfiguration
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SceneConfig
impl Send for SceneConfig
impl Sync for SceneConfig
impl Unpin for SceneConfig
impl UnwindSafe for SceneConfig
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