Struct glfw::Callback[src]
pub struct Callback<Fn, UserData> {
pub f: Fn,
pub data: UserData,
}Fields
f | |
data |
pub struct Callback<Fn, UserData> {
pub f: Fn,
pub data: UserData,
}f | |
data |
impl<UserData> Object<Args> for Callback<fn(Error, ~str, &UserData), UserData>fn call(&self, (tuple arg NYI): Args)impl<UserData> Object<Args> for Callback<fn(Monitor, MonitorEvent, &UserData), UserData>fn call(&self, (tuple arg NYI): Args)
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 (or str), enum,
trait, typedef (or
tdef).