#[repr(C)]pub struct AndroidNdkWindowHandle {
pub a_native_window: NonNull<c_void>,
}
Expand description
raw_window_handle_ffi:
This type is ABI-stable and FFI-compatible analogue for raw_window_handle::AndroidNdkWindowHandle
.
Can be converted to and from the referenced type.
Fields§
§a_native_window: NonNull<c_void>
A pointer to an ANativeWindow
.
Implementations§
Source§impl AndroidNdkWindowHandle
impl AndroidNdkWindowHandle
Sourcepub unsafe fn into(self) -> AndroidNdkWindowHandle
pub unsafe fn into(self) -> AndroidNdkWindowHandle
Converts FFI type back to the original raw_window_handle::AndroidNdkWindowHandle
.
§Safety
Original type raw_window_handle::AndroidNdkWindowHandle
is marked as non_exaustive
,
and therefore it is impossible to convert to it completely safely.
Trait Implementations§
Source§impl Clone for AndroidNdkWindowHandle
impl Clone for AndroidNdkWindowHandle
Source§fn clone(&self) -> AndroidNdkWindowHandle
fn clone(&self) -> AndroidNdkWindowHandle
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 AndroidNdkWindowHandle
impl Debug for AndroidNdkWindowHandle
Source§impl From<AndroidNdkWindowHandle> for AndroidNdkWindowHandle
impl From<AndroidNdkWindowHandle> for AndroidNdkWindowHandle
Source§fn from(value: AndroidNdkWindowHandle) -> Self
fn from(value: AndroidNdkWindowHandle) -> Self
Converts to this type from the input type.
Source§impl From<AndroidNdkWindowHandle> for RawWindowHandle
impl From<AndroidNdkWindowHandle> for RawWindowHandle
Source§fn from(val: AndroidNdkWindowHandle) -> RawWindowHandle
fn from(val: AndroidNdkWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl Hash for AndroidNdkWindowHandle
impl Hash for AndroidNdkWindowHandle
Source§impl PartialEq for AndroidNdkWindowHandle
impl PartialEq for AndroidNdkWindowHandle
impl Copy for AndroidNdkWindowHandle
impl Eq for AndroidNdkWindowHandle
impl Send for AndroidNdkWindowHandle
impl StructuralPartialEq for AndroidNdkWindowHandle
impl Sync for AndroidNdkWindowHandle
Auto Trait Implementations§
impl Freeze for AndroidNdkWindowHandle
impl RefUnwindSafe for AndroidNdkWindowHandle
impl Unpin for AndroidNdkWindowHandle
impl UnwindSafe for AndroidNdkWindowHandle
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