Struct VecDequeStrategy
#[must_use = "strategies do nothing unless used"]
pub struct VecDequeStrategy<T>(/* private field */)
where
T: Strategy,;
Strategy to create VecDeques with a length in a certain range.
Created by the vec_deque() function in the same module.
Trait Implementations
impl<T> Clone for VecDequeStrategy<T>
where
T: Strategy + Clone,
fn clone(&self) -> VecDequeStrategy<T>
impl<T> Debug for VecDequeStrategy<T>
where
T: Strategy + Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T> Strategy for VecDequeStrategy<T>
where
T: Strategy,
type Tree = VecDequeValueTree<<T as Strategy>::Tree>;type Value = VecDeque<<T as Strategy>::Value>;fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>
Auto Trait Implementations
impl<T> Freeze for VecDequeStrategy<T>
where
Map<VecStrategy<T>, VecToDeque>: Freeze,
impl<T> RefUnwindSafe for VecDequeStrategy<T>
where
Map<VecStrategy<T>, VecToDeque>: RefUnwindSafe,
impl<T> Send for VecDequeStrategy<T>
where
Map<VecStrategy<T>, VecToDeque>: Send,
impl<T> Sync for VecDequeStrategy<T>
where
Map<VecStrategy<T>, VecToDeque>: Sync,
impl<T> Unpin for VecDequeStrategy<T>
where
Map<VecStrategy<T>, VecToDeque>: Unpin,
impl<T> UnsafeUnpin for VecDequeStrategy<T>
where
Map<VecStrategy<T>, VecToDeque>: UnsafeUnpin,
impl<T> UnwindSafe for VecDequeStrategy<T>
where
Map<VecStrategy<T>, VecToDeque>: UnwindSafe,
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for VecDequeStrategy<T>
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for VecDequeStrategy<T>
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for VecDequeStrategy<T>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for VecDequeStrategy<T>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for VecDequeStrategy<T>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for VecDequeStrategy<T>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for VecDequeStrategy<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Read<Exclusive, BecauseExclusive> for VecDequeStrategy<T>
where
T: ?Sized,
impl<T> ToOwned for VecDequeStrategy<T>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for VecDequeStrategy<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 VecDequeStrategy<T>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for VecDequeStrategy<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 VecDequeStrategy<T>
where
V: MultiLane<T>,
fn vzip(self) -> V