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