pub struct RandomBits {
pub len: usize,
}Expand description
Uniform random bit strings of a fixed length.
Fields§
§len: usizeThe number of bits.
Trait Implementations§
Source§impl Clone for RandomBits
impl Clone for RandomBits
impl Copy for RandomBits
Source§impl Debug for RandomBits
impl Debug for RandomBits
impl Eq for RandomBits
Source§impl Initializer<Vec<bool>> for RandomBits
impl Initializer<Vec<bool>> for RandomBits
Source§impl PartialEq for RandomBits
impl PartialEq for RandomBits
impl StructuralPartialEq for RandomBits
Auto Trait Implementations§
impl Forget for RandomBits
impl Freeze for RandomBits
impl Move for RandomBits
impl RefUnwindSafe for RandomBits
impl Send for RandomBits
impl Sync for RandomBits
impl Unpin for RandomBits
impl UnsafeUnpin for RandomBits
impl UnwindSafe for RandomBits
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