Struct PathParams
pub struct PathParams { /* private fields */ }
Parameters for the Arbitrary implementation for PathBuf.
By default, this generates paths with 0 to 8 components uniformly at random, each of which is a
default StringParam.
Implementations
impl PathParams
fn components(&self) -> SizeRangeGets the number of components in the path.
fn with_components(self, components: impl Into<SizeRange>) -> SelfSets the number of components in the path.
fn component_regex(&self) -> StringParamGets the regular expression to generate individual components.
fn with_component_regex(self, component_regex: impl Into<StringParam>) -> SelfSets the regular expression to generate individual components.
Trait Implementations
impl Clone for PathParams
fn clone(&self) -> Self
impl Debug for PathParams
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for PathParams
fn default() -> Self
impl Eq for PathParams
impl Hash for PathParams
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for PathParams
fn eq(&self, other: &Self) -> bool