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§
Provided Associated Constants§
const FLAGS: SignalFlags = _
Required Associated Types§
type Object: ObjectType
type Arguments: for<'a> FromValues<'a> + 'static
type Return: ToValueOption
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.