1 2 3 4 5 6 7 8 9
use libc::{c_int, c_char}; pub type SDL_bool = c_int; extern "C" { pub fn SDL_SetClipboardText(text: *const c_char) -> c_int; pub fn SDL_GetClipboardText() -> *const c_char; pub fn SDL_HasClipboardText() -> SDL_bool; }
1 2 3 4 5 6 7 8 9
use libc::{c_int, c_char}; pub type SDL_bool = c_int; extern "C" { pub fn SDL_SetClipboardText(text: *const c_char) -> c_int; pub fn SDL_GetClipboardText() -> *const c_char; pub fn SDL_HasClipboardText() -> SDL_bool; }
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)