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

Builder API for a call.

Implementations

Starts building a call which replaces the lead end with a given PlaceNotation and is displayed with the given symbol.

If set, this call will use a different symbol for debugging as displaying. This is currently only used for bobs (which display as ‘’ but debug as ‘-’).

If debug_symbol isn’t called, this will be the same as the ‘display’ symbol.

If passed Some(_), the behaviour is the same as Call::debug_symbol; if None is passed, the behaviour is reverted to the default (using the same symbol for debug and display).

Forces the use of a given set of calling positions. The supplied Vec contains one String for every place, in order, including leading. For example, default calling positions for near bobs in Major would be vec!["L", "I", "B", "F", "V", "M", "W", "H"].

If Some(_) is passed, behaves the same as Call::calling_positions. If None is passed, the calling_positions are reverted to the default.

Sets the label marking where this call can be placed. If unset, all calls are applied to the lead end.

Makes this call go to a different label than it goes from.

Sets the weight which is added every time this call is used.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more