#[repr(C)]pub struct RawWindowHandle {
pub kind: RawWindowHandleKind,
pub data: RawWindowHandleData,
}
Fields§
§kind: RawWindowHandleKind
§data: RawWindowHandleData
Implementations§
Source§impl RawWindowHandle
impl RawWindowHandle
Sourcepub unsafe fn into_handle(self) -> RawWindowHandle
pub unsafe fn into_handle(self) -> RawWindowHandle
Converts FFI type back to the raw_window_handle::RawWindowHandle
.
§Safety
Unsafe because all non-FFI values are #[non_exaustive]
and its impossible to safely convert to those.
Trait Implementations§
Source§impl Clone for RawWindowHandle
impl Clone for RawWindowHandle
Source§fn clone(&self) -> RawWindowHandle
fn clone(&self) -> RawWindowHandle
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 RawWindowHandle
impl Debug for RawWindowHandle
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 From<AppKitWindowHandle> for RawWindowHandle
impl From<AppKitWindowHandle> for RawWindowHandle
Source§fn from(val: AppKitWindowHandle) -> RawWindowHandle
fn from(val: AppKitWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<DrmWindowHandle> for RawWindowHandle
impl From<DrmWindowHandle> for RawWindowHandle
Source§fn from(val: DrmWindowHandle) -> RawWindowHandle
fn from(val: DrmWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<GbmWindowHandle> for RawWindowHandle
impl From<GbmWindowHandle> for RawWindowHandle
Source§fn from(val: GbmWindowHandle) -> RawWindowHandle
fn from(val: GbmWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<HaikuWindowHandle> for RawWindowHandle
impl From<HaikuWindowHandle> for RawWindowHandle
Source§fn from(val: HaikuWindowHandle) -> RawWindowHandle
fn from(val: HaikuWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<OhosNdkWindowHandle> for RawWindowHandle
impl From<OhosNdkWindowHandle> for RawWindowHandle
Source§fn from(val: OhosNdkWindowHandle) -> RawWindowHandle
fn from(val: OhosNdkWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<OrbitalWindowHandle> for RawWindowHandle
impl From<OrbitalWindowHandle> for RawWindowHandle
Source§fn from(val: OrbitalWindowHandle) -> RawWindowHandle
fn from(val: OrbitalWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<UiKitWindowHandle> for RawWindowHandle
impl From<UiKitWindowHandle> for RawWindowHandle
Source§fn from(val: UiKitWindowHandle) -> RawWindowHandle
fn from(val: UiKitWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<WaylandWindowHandle> for RawWindowHandle
impl From<WaylandWindowHandle> for RawWindowHandle
Source§fn from(val: WaylandWindowHandle) -> RawWindowHandle
fn from(val: WaylandWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<WebCanvasWindowHandle> for RawWindowHandle
impl From<WebCanvasWindowHandle> for RawWindowHandle
Source§fn from(val: WebCanvasWindowHandle) -> RawWindowHandle
fn from(val: WebCanvasWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<WebOffscreenCanvasWindowHandle> for RawWindowHandle
impl From<WebOffscreenCanvasWindowHandle> for RawWindowHandle
Source§fn from(val: WebOffscreenCanvasWindowHandle) -> RawWindowHandle
fn from(val: WebOffscreenCanvasWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<WebWindowHandle> for RawWindowHandle
impl From<WebWindowHandle> for RawWindowHandle
Source§fn from(val: WebWindowHandle) -> RawWindowHandle
fn from(val: WebWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<Win32WindowHandle> for RawWindowHandle
impl From<Win32WindowHandle> for RawWindowHandle
Source§fn from(val: Win32WindowHandle) -> RawWindowHandle
fn from(val: Win32WindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<WinRtWindowHandle> for RawWindowHandle
impl From<WinRtWindowHandle> for RawWindowHandle
Source§fn from(val: WinRtWindowHandle) -> RawWindowHandle
fn from(val: WinRtWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<XcbWindowHandle> for RawWindowHandle
impl From<XcbWindowHandle> for RawWindowHandle
Source§fn from(val: XcbWindowHandle) -> RawWindowHandle
fn from(val: XcbWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl From<XlibWindowHandle> for RawWindowHandle
impl From<XlibWindowHandle> for RawWindowHandle
Source§fn from(val: XlibWindowHandle) -> RawWindowHandle
fn from(val: XlibWindowHandle) -> RawWindowHandle
Converts to this type from the input type.
Source§impl PartialEq for RawWindowHandle
impl PartialEq for RawWindowHandle
Source§impl TryFrom<RawWindowHandle> for RawWindowHandle
impl TryFrom<RawWindowHandle> for RawWindowHandle
impl Copy for RawWindowHandle
impl Eq for RawWindowHandle
Auto Trait Implementations§
impl Freeze for RawWindowHandle
impl RefUnwindSafe for RawWindowHandle
impl Send for RawWindowHandle
impl Sync for RawWindowHandle
impl Unpin for RawWindowHandle
impl UnwindSafe for RawWindowHandle
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