update readme

master
Avril 4 years ago
parent 887e8f786c
commit 60ce7fcb18
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -87,8 +87,10 @@
fn do_something_to_window(window: &mut Handle<Window>) -> GhostResult<()> fn do_something_to_window(window: &mut Handle<Window>) -> GhostResult<()>
{ {
unsafe {
some_internal_call(window as GHOST_WindowHandle).into() some_internal_call(window as GHOST_WindowHandle).into()
} }
}
#+END_SRC #+END_SRC
This trait is sealed, and we have it already implemented for all handle types, so you rarely need to use it yourself, unless as a bound where you want something to operate on or contain any type of handle. This trait is sealed, and we have it already implemented for all handle types, so you rarely need to use it yourself, unless as a bound where you want something to operate on or contain any type of handle.

Loading…
Cancel
Save