fp_gl/defunc
Types
pub type Defunc1(t1, t) {
Defunc1(
constructor: fn(t1) -> t,
destructor: fn(t) -> #(t1),
names: #(String),
)
}
Constructors
-
Defunc1( constructor: fn(t1) -> t, destructor: fn(t) -> #(t1), names: #(String), )
pub type Defunc2(t1, t2, t) {
Defunc2(
constructor: fn(t1, t2) -> t,
destructor: fn(t) -> #(t1, t2),
names: #(String, String),
)
}
Constructors
-
Defunc2( constructor: fn(t1, t2) -> t, destructor: fn(t) -> #(t1, t2), names: #(String, String), )