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

Properties of a zsh builtin command

Any chages will reflect on the behaviour of the builtin

Implementations§

Sets the minimum amount of arguments allowed by the builtin

Sets the maximum amount of arguments allowed by the builtin

Sets flags recognized by the builtin

Registers the builtin.

By default, the builtin can take any amount of arguments (minargs and maxargs are 0 and None, respectively) and no flags.

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.