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

EventSet allows you to describe the types of eiffel events and links you want to generate together.

A peculiarity with EventSet are the custom EventBorrow and LinkBorrow types, these act as a proxy for the real Event and Link types with the benefit of EventBorrow::links() and LinkBorrow::targets() returning the same Borrow types compared to just string names.

Implementations

Gives quick access to EventSetBuilder.

Provides an iterator over the events present in this set.

Returns the Event that matches the given name.

Returns the Link that matches the given name.

Trait Implementations

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Converts to this type from the input type.

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.