Struct spongemock::Config
source · pub struct Config {
pub first_upper: f64,
pub lower_to_upper: f64,
pub upper_to_lower: f64,
pub upper_upper_to_lower: f64,
pub lower_lower_to_upper: f64,
}
Fields§
§first_upper: f64
The chance of the first letter being in uppercase
lower_to_upper: f64
The chance of a character to be uppercase, if the previous character is lowercase
upper_to_lower: f64
The chance of a character to be lowercase, if the previous character is uppercase
upper_upper_to_lower: f64
The chance of a character to be lowercase, if the previous two characters are uppercase
lower_lower_to_upper: f64
The chance of a character to be uppercase, if the previous two characters are lowercase
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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