Enum glib::subclass::signal::SignalRegistration
source · enum SignalRegistration {
Unregistered {
class_handler: Option<Box<dyn Fn(&SignalClassHandlerToken, &[Value]) -> Option<Value> + Send + Sync + 'static>>,
accumulator: Option<Box<dyn Fn(&SignalInvocationHint, &mut Value, &Value) -> bool + Send + Sync + 'static>>,
},
Registered {
type_: Type,
signal_id: SignalId,
},
}
Variants§
Unregistered
Fields
Registered
Auto Trait Implementations§
impl Freeze for SignalRegistration
impl !RefUnwindSafe for SignalRegistration
impl Send for SignalRegistration
impl Sync for SignalRegistration
impl Unpin for SignalRegistration
impl !UnwindSafe for SignalRegistration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more