pub enum TestDataPattern {
Zeros,
Ones,
Sequential,
Random,
Compressible,
Text,
}Expand description
Test data patterns for file generation
Variants§
Zeros
All zeros
Ones
All ones (0xFF)
Sequential
Sequential bytes (0, 1, 2, …, 255, 0, 1, …)
Random
Pseudo-random pattern (deterministic)
Compressible
Compressible repeating text
Text
ASCII text pattern
Trait Implementations§
Source§impl Clone for TestDataPattern
impl Clone for TestDataPattern
Source§fn clone(&self) -> TestDataPattern
fn clone(&self) -> TestDataPattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestDataPattern
impl Debug for TestDataPattern
Source§impl PartialEq for TestDataPattern
impl PartialEq for TestDataPattern
impl Copy for TestDataPattern
impl Eq for TestDataPattern
impl StructuralPartialEq for TestDataPattern
Auto Trait Implementations§
impl Freeze for TestDataPattern
impl RefUnwindSafe for TestDataPattern
impl Send for TestDataPattern
impl Sync for TestDataPattern
impl Unpin for TestDataPattern
impl UnwindSafe for TestDataPattern
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more