Type Alias GSignalInvocationHint

Source
pub type GSignalInvocationHint = _GSignalInvocationHint;
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.

Aliased Type§

#[repr(C)]
pub struct GSignalInvocationHint { pub signal_id: u32, pub detail: u32, pub run_type: u32, }

Fields§

§signal_id: u32§detail: u32§run_type: u32

Trait Implementations

Source§

impl Clone for _GSignalInvocationHint

Source§

fn clone(&self) -> _GSignalInvocationHint

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GSignalInvocationHint

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GSignalInvocationHint

Source§

fn eq(&self, other: &_GSignalInvocationHint) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GSignalInvocationHint

Source§

impl Eq for _GSignalInvocationHint

Source§

impl StructuralPartialEq for _GSignalInvocationHint