pub struct SentenceGenerator { /* private fields */ }Expand description
Generator for sentence-like text
Generates strings that resemble English sentences:
- Start with capital letter
- End with period
- Contain words separated by spaces
Implementations§
Trait Implementations§
Source§impl Clone for SentenceGenerator
impl Clone for SentenceGenerator
Source§impl Debug for SentenceGenerator
impl Debug for SentenceGenerator
Source§impl Generator<String> for SentenceGenerator
impl Generator<String> for SentenceGenerator
Auto Trait Implementations§
impl Freeze for SentenceGenerator
impl RefUnwindSafe for SentenceGenerator
impl Send for SentenceGenerator
impl Sync for SentenceGenerator
impl Unpin for SentenceGenerator
impl UnsafeUnpin for SentenceGenerator
impl UnwindSafe for SentenceGenerator
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