pub struct EasyRandom { /* private fields */ }
Implementations§
Source§impl EasyRandom
impl EasyRandom
pub fn new() -> Self
pub fn add_custom_chars(&mut self, chars: &[char])
pub fn add_custom_chars_from_vec(&mut self, chars: Vec<char>)
pub fn exclude_chars(&mut self, chars: &[char])
pub fn exclude_chars_from_vec(&mut self, chars: Vec<char>)
pub fn generate(&mut self, given: String) -> String
Auto Trait Implementations§
impl Freeze for EasyRandom
impl RefUnwindSafe for EasyRandom
impl Send for EasyRandom
impl Sync for EasyRandom
impl Unpin for EasyRandom
impl UnwindSafe for EasyRandom
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