Struct android_activity::NativeWindowRef
source · [−]pub struct NativeWindowRef { /* private fields */ }Expand description
A reference to a NativeWindow, used for rendering
Implementations
sourceimpl NativeWindowRef
impl NativeWindowRef
pub fn new(native_window: &NativeWindow) -> Self
Methods from Deref<Target = NativeWindow>
pub fn ptr(&self) -> NonNull<ANativeWindow>
Trait Implementations
sourceimpl Deref for NativeWindowRef
impl Deref for NativeWindowRef
type Target = NativeWindow
type Target = NativeWindow
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for NativeWindowRef
impl Send for NativeWindowRef
impl Sync for NativeWindowRef
impl Unpin for NativeWindowRef
impl UnwindSafe for NativeWindowRef
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