Crate libuv_sys2

source ·

Macros§

  • This macro simplifies casting a reference or raw pointer to a uv_SOMETHING_t as a raw pointer to a uv_SOMETHING_ELSE_t. This is frequently necessary to cast a uv_SOMETHING_t to a uv_handle_t, but may also be used in other situations (casting a &mut uv_tty_t to a *mut uv_stream_t, for example). Really, this macro can be used to cast any reference or raw pointer to a raw pointer of a different type.

Structs§

Constants§

Functions§

Type Aliases§

Unions§