pub struct PLYViewController { /* private fields */ }Expand description
An object that manages a view hierarchy of your UIKit app.
Implementations§
Source§impl PLYViewController
impl PLYViewController
Sourcepub fn new() -> PLYViewController
pub fn new() -> PLYViewController
Initializes a newly allocated view controller.
Sourcepub fn present_view_controller(
&mut self,
view_controller: &PLYViewController,
animated: bool,
_completion: Option<()>,
)
pub fn present_view_controller( &mut self, view_controller: &PLYViewController, animated: bool, _completion: Option<()>, )
Presents a view controller modally.
Sourcepub fn dismiss_view_controller(
&mut self,
animated: bool,
_completion: Option<()>,
)
pub fn dismiss_view_controller( &mut self, animated: bool, _completion: Option<()>, )
Dismisses the view controller that was presented modally by the view controller.
Sourcepub fn set_on_did_disappear(&mut self, callback: &PLYCallback<NSNumber>)
pub fn set_on_did_disappear(&mut self, callback: &PLYCallback<NSNumber>)
Sets a callback that will be invoked when this view controller disappears.
Trait Implementations§
Source§impl Clone for PLYViewController
impl Clone for PLYViewController
Source§impl Drop for PLYViewController
impl Drop for PLYViewController
Source§impl Raw for PLYViewController
impl Raw for PLYViewController
Auto Trait Implementations§
impl Freeze for PLYViewController
impl RefUnwindSafe for PLYViewController
impl !Send for PLYViewController
impl !Sync for PLYViewController
impl Unpin for PLYViewController
impl UnsafeUnpin for PLYViewController
impl UnwindSafe for PLYViewController
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