Struct glib::closure::Closure
[−]
[src]
pub struct Closure(_);
Methods
impl Closure
[src]
fn new<F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static>(
callback: F
) -> Self
callback: F
) -> Self
fn invoke(&self, values: &[&ToValue]) -> Option<Value>
Trait Implementations
impl Clone for Closure
[src]
fn clone(&self) -> Closure
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more