Struct fake::PathFaker[][src]

pub struct PathFaker<'a> { /* fields omitted */ }
Expand description

Custom fake path generator given an array of root directories, segments and extension, and max_level to generate a fake path.

It generates by root_dirs / max_level * segments . extensions.

Implementations

Trait Implementations

Generate a dummy value for a given type using a random number generator. Read more

Generate a dummy value for a type. 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.