pub trait FromRawHandle {
// Required method
unsafe fn from_raw_handle(handle: RawHandle) -> Self;
}
Expand description
Required Methods§
Sourceunsafe fn from_raw_handle(handle: RawHandle) -> Self
unsafe fn from_raw_handle(handle: RawHandle) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl FromRawHandle for File
Available on crate feature
fs
and Windows only.