Lines Matching defs:Handle
51 pub struct Handle { struct
52 kind: HandleKind, argument
59 Owned(winutil::Handle), argument
70 impl Eq for Handle {} implementation
72 impl PartialEq for Handle { implementation
76 if self as *const Handle == other as *const Handle { in eq() constant
85 impl AsRawHandle for crate::Handle { implementation
94 impl IntoRawHandle for crate::Handle { implementation
103 impl Hash for Handle { implementation
109 impl Handle { impl
110 pub fn from_path<P: AsRef<Path>>(p: P) -> io::Result<Handle> { in from_path()
116 pub fn from_file(file: File) -> io::Result<Handle> { in from_file()
122 fn from_std_handle(h: winutil::HandleRef) -> io::Result<Handle> { in from_std_handle()
137 ) -> Handle { in from_info()