Struct RegexGeneratorStrategy
#[must_use = "strategies do nothing unless used"]
pub struct RegexGeneratorStrategy<T>(/* private field */)
where
T: Debug,;
Strategy which generates values (i.e., String or Vec<u8>) matching
a regular expression.
Created by various functions in this module.
Trait Implementations
impl<T> Debug for RegexGeneratorStrategy<T>
where
T: Debug + Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T> Strategy for RegexGeneratorStrategy<T>
where
T: Debug,
type Tree = RegexGeneratorValueTree<T>;type Value = T;fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>
Auto Trait Implementations
impl<T> !RefUnwindSafe for RegexGeneratorStrategy<T>
impl<T> !UnwindSafe for RegexGeneratorStrategy<T>
impl<T> Freeze for RegexGeneratorStrategy<T>
where
SBoxedStrategy<T>: Freeze,
impl<T> Send for RegexGeneratorStrategy<T>
where
SBoxedStrategy<T>: Send,
impl<T> Sync for RegexGeneratorStrategy<T>
where
SBoxedStrategy<T>: Sync,
impl<T> Unpin for RegexGeneratorStrategy<T>
where
SBoxedStrategy<T>: Unpin,
impl<T> UnsafeUnpin for RegexGeneratorStrategy<T>
where
SBoxedStrategy<T>: UnsafeUnpin,
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for RegexGeneratorStrategy<T>
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for RegexGeneratorStrategy<T>
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for RegexGeneratorStrategy<T>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for RegexGeneratorStrategy<T>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for RegexGeneratorStrategy<T>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for RegexGeneratorStrategy<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Read<Exclusive, BecauseExclusive> for RegexGeneratorStrategy<T>
where
T: ?Sized,
impl<T, U> Into<U> for RegexGeneratorStrategy<T>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for RegexGeneratorStrategy<T>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for RegexGeneratorStrategy<T>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip<V> for RegexGeneratorStrategy<T>
where
V: MultiLane<T>,
fn vzip(self) -> V