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

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

Trait for slots that can be connected to Signal

You should not implement this trait. It is already implemented for FnMut which has the same arguments.

Required methods

unsafe fn apply(&mut self, a: *const *const c_void)

Loading content...

Implementations on Foreign Types

impl<Args: SignalArgArrayToTuple> Slot<Args> for *mut ConnectionFutureState<Args>[src]

Loading content...

Implementors

impl<T> Slot<fn()> for T where
    T: FnMut(), 
[src]

impl<T, A0> Slot<fn(A0)> for T where
    T: FnMut(&A0), 
[src]

impl<T, A1, A0> Slot<fn(A1, A0)> for T where
    T: FnMut(&A1, &A0), 
[src]

impl<T, A2, A1, A0> Slot<fn(A2, A1, A0)> for T where
    T: FnMut(&A2, &A1, &A0), 
[src]

impl<T, A3, A2, A1, A0> Slot<fn(A3, A2, A1, A0)> for T where
    T: FnMut(&A3, &A2, &A1, &A0), 
[src]

impl<T, A4, A3, A2, A1, A0> Slot<fn(A4, A3, A2, A1, A0)> for T where
    T: FnMut(&A4, &A3, &A2, &A1, &A0), 
[src]

impl<T, A5, A4, A3, A2, A1, A0> Slot<fn(A5, A4, A3, A2, A1, A0)> for T where
    T: FnMut(&A5, &A4, &A3, &A2, &A1, &A0), 
[src]

impl<T, A6, A5, A4, A3, A2, A1, A0> Slot<fn(A6, A5, A4, A3, A2, A1, A0)> for T where
    T: FnMut(&A6, &A5, &A4, &A3, &A2, &A1, &A0), 
[src]

impl<T, A7, A6, A5, A4, A3, A2, A1, A0> Slot<fn(A7, A6, A5, A4, A3, A2, A1, A0)> for T where
    T: FnMut(&A7, &A6, &A5, &A4, &A3, &A2, &A1, &A0), 
[src]

impl<T, A8, A7, A6, A5, A4, A3, A2, A1, A0> Slot<fn(A8, A7, A6, A5, A4, A3, A2, A1, A0)> for T where
    T: FnMut(&A8, &A7, &A6, &A5, &A4, &A3, &A2, &A1, &A0), 
[src]

impl<T, A9, A8, A7, A6, A5, A4, A3, A2, A1, A0> Slot<fn(A9, A8, A7, A6, A5, A4, A3, A2, A1, A0)> for T where
    T: FnMut(&A9, &A8, &A7, &A6, &A5, &A4, &A3, &A2, &A1, &A0), 
[src]

Loading content...