Trait qmetaobject::connections::Slot[][src]

pub trait Slot<Args> {
    unsafe fn apply(&mut self, a: *const *const c_void);
}
Expand description

Trait for slots that can be connected to Signal

You should not implement this trait. It is already implemented for such FnMut that has the same count and types of arguments.

Required methods

a is an array containing the pointers to return value and arguments:

  • a[0] is a pointer to the return value,
  • a[1] is a pointer to the first argument,
  • a[2] is a pointer to the second argument,
  • and so on…

Implementations on Foreign Types

Implementors