Struct raw_window_handle::UiKitWindowHandle
source · [−]#[non_exhaustive]pub struct UiKitWindowHandle {
pub ui_window: *mut c_void,
pub ui_view: *mut c_void,
pub ui_view_controller: *mut c_void,
}
Expand description
Raw window handle for UIKit.
Construction
let mut window_handle = UiKitWindowHandle::empty();
/* set fields */
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ui_window: *mut c_void
A pointer to an UIWindow
object.
ui_view: *mut c_void
A pointer to an UIView
object.
ui_view_controller: *mut c_void
A pointer to an UIViewController
object.
Implementations
Trait Implementations
sourceimpl Clone for UiKitWindowHandle
impl Clone for UiKitWindowHandle
sourcefn clone(&self) -> UiKitWindowHandle
fn clone(&self) -> UiKitWindowHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UiKitWindowHandle
impl Debug for UiKitWindowHandle
sourceimpl Hash for UiKitWindowHandle
impl Hash for UiKitWindowHandle
sourceimpl PartialEq<UiKitWindowHandle> for UiKitWindowHandle
impl PartialEq<UiKitWindowHandle> for UiKitWindowHandle
sourcefn eq(&self, other: &UiKitWindowHandle) -> bool
fn eq(&self, other: &UiKitWindowHandle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UiKitWindowHandle) -> bool
fn ne(&self, other: &UiKitWindowHandle) -> bool
This method tests for !=
.
impl Copy for UiKitWindowHandle
impl Eq for UiKitWindowHandle
impl StructuralEq for UiKitWindowHandle
impl StructuralPartialEq for UiKitWindowHandle
Auto Trait Implementations
impl RefUnwindSafe for UiKitWindowHandle
impl !Send for UiKitWindowHandle
impl !Sync for UiKitWindowHandle
impl Unpin for UiKitWindowHandle
impl UnwindSafe for UiKitWindowHandle
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