Struct semver_rs::OptionsBuilder[][src]

pub struct OptionsBuilder { /* fields omitted */ }
Expand description

Allows building an Options instance.

Example

let opts = Options::builder().loose(true).include_prerelease(true).build();

Implementations

Sets the loose option. Refer to Options.loose.

Sets the include_prerelease option. Refer to Options.include_prerelease.

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.