pub struct Signal { /* private fields */ }
Expand description

Signal metadata.

Implementations

Create a new builder for a signal.

Name of the signal.

Flags of the signal.

Parameter types of the signal.

Return type of the signal.

Signal ID.

This will panic if called before the signal was registered.

Type this signal was registered for.

This will panic if called before the signal was registered.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.