Trait glib_signal::DetailedSignal

source ·
pub trait DetailedSignal: Copy + Debug + Into<ConnectDetails<Self>> {
    type Signal: Signal;
    type Object: ObjectType;
    type Arguments: for<'a> FromValues<'a> + 'static;
    type Return: ToValueOption;

    const DETAIL: Option<&'static str>;

    // Provided methods
    fn detail() -> Option<Quark> { ... }
    fn create_detail() -> Quark { ... }
}

Required Associated Types§

Required Associated Constants§

source

const DETAIL: Option<&'static str>

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Signal> DetailedSignal for T

§

type Arguments = <<T as DetailedSignal>::Signal as Signal>::Arguments

§

type Object = <<T as DetailedSignal>::Signal as Signal>::Object

§

type Return = <<T as DetailedSignal>::Signal as Signal>::Return

§

type Signal = T

source§

const DETAIL: Option<&'static str> = None