Struct synfuzz::SepBy1

source ·
pub struct SepBy1 {
    pub generator: Box<dyn Generator>,
    pub separator: Box<dyn Generator>,
}
Expand description

SepBy is a Generator that will repeat the generator 1 or more times separated by the specified separator. A single match will result in no separator being present, only there there is more than one

Fields§

§generator: Box<dyn Generator>§separator: Box<dyn Generator>

Trait Implementations§

Formats the value using the given formatter. Read more
Generate a value from the specific implementation of the Generator
Generate a value of the negation of the specified Generator

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.