#[repr(C)]pub struct _GSignalInvocationHint {
pub signal_id: guint,
pub detail: GQuark,
pub run_type: GSignalFlags,
}
Expand description
GSignalInvocationHint: @signal_id: The signal id of the signal invoking the callback @detail: The detail passed on for this emission @run_type: The stage the signal emission is currently in, this field will contain one of %G_SIGNAL_RUN_FIRST, %G_SIGNAL_RUN_LAST or %G_SIGNAL_RUN_CLEANUP and %G_SIGNAL_ACCUMULATOR_FIRST_RUN. %G_SIGNAL_ACCUMULATOR_FIRST_RUN is only set for the first run of the accumulator function for a signal emission.
The #GSignalInvocationHint structure is used to pass on additional information to callbacks during a signal emission.
Fields§
§signal_id: guint
§detail: GQuark
§run_type: GSignalFlags
Trait Implementations§
Source§impl Clone for _GSignalInvocationHint
impl Clone for _GSignalInvocationHint
Source§fn clone(&self) -> _GSignalInvocationHint
fn clone(&self) -> _GSignalInvocationHint
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for _GSignalInvocationHint
impl Debug for _GSignalInvocationHint
Source§impl PartialEq for _GSignalInvocationHint
impl PartialEq for _GSignalInvocationHint
impl Copy for _GSignalInvocationHint
impl Eq for _GSignalInvocationHint
impl StructuralPartialEq for _GSignalInvocationHint
Auto Trait Implementations§
impl Freeze for _GSignalInvocationHint
impl RefUnwindSafe for _GSignalInvocationHint
impl Send for _GSignalInvocationHint
impl Sync for _GSignalInvocationHint
impl Unpin for _GSignalInvocationHint
impl UnwindSafe for _GSignalInvocationHint
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