#[repr(C)]pub struct _GSignalQuery {
pub signal_id: guint,
pub signal_name: *const gchar,
pub itype: GType,
pub signal_flags: GSignalFlags,
pub return_type: GType,
pub n_params: guint,
pub param_types: *const GType,
}
Expand description
GSignalQuery: @signal_id: The signal id of the signal being queried, or 0 if the signal to be queried was unknown. @signal_name: The signal name. @itype: The interface/instance type that this signal can be emitted for. @signal_flags: The signal flags as passed in to g_signal_new(). @return_type: The return type for user callbacks. @n_params: The number of parameters that user callbacks take. @param_types: (array length=n_params): The individual parameter types for user callbacks, note that the effective callback signature is: |[ @return_type callback (#gpointer data1, [param_types param_names,] gpointer data2); ]|
A structure holding in-depth information for a specific signal.
See also: g_signal_query()
Fields§
§signal_id: guint
§signal_name: *const gchar
§itype: GType
§signal_flags: GSignalFlags
§return_type: GType
§n_params: guint
§param_types: *const GType
Trait Implementations§
Source§impl Clone for _GSignalQuery
impl Clone for _GSignalQuery
Source§fn clone(&self) -> _GSignalQuery
fn clone(&self) -> _GSignalQuery
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 _GSignalQuery
impl Debug for _GSignalQuery
Source§impl PartialEq for _GSignalQuery
impl PartialEq for _GSignalQuery
impl Copy for _GSignalQuery
impl Eq for _GSignalQuery
impl StructuralPartialEq for _GSignalQuery
Auto Trait Implementations§
impl Freeze for _GSignalQuery
impl RefUnwindSafe for _GSignalQuery
impl !Send for _GSignalQuery
impl !Sync for _GSignalQuery
impl Unpin for _GSignalQuery
impl UnwindSafe for _GSignalQuery
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