Trait Signal

Source
pub trait Signal: Copy + Debug {
    type Object: ObjectType;
    type Arguments: for<'a> FromValues<'a> + 'static;
    type Return: ToValueOption;

    const NAME: &'static str;
    const FLAGS: SignalFlags = _;

    // Provided method
    fn signal() -> SignalId { ... }
}

Required Associated Constants§

Source

const NAME: &'static str

Provided Associated Constants§

Required Associated Types§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§