Struct zalgo::ZalgoBuilder
source · [−]pub struct ZalgoBuilder {
pub up: RandOrStatic,
pub down: RandOrStatic,
pub mid: RandOrStatic,
}
Expand description
A builder for a zalgoifier
Fields
up: RandOrStatic
The up limit
down: RandOrStatic
The down limit
mid: RandOrStatic
The mid limit
Implementations
sourceimpl ZalgoBuilder
impl ZalgoBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Make a new ZalgoBuilder
.
sourcepub fn set_up(&mut self, up: impl Into<RandOrStatic>) -> &mut Self
pub fn set_up(&mut self, up: impl Into<RandOrStatic>) -> &mut Self
Set the up limits
sourcepub fn set_down(&mut self, down: impl Into<RandOrStatic>) -> &mut Self
pub fn set_down(&mut self, down: impl Into<RandOrStatic>) -> &mut Self
Set the down limits
sourcepub fn set_mid(&mut self, mid: impl Into<RandOrStatic>) -> &mut Self
pub fn set_mid(&mut self, mid: impl Into<RandOrStatic>) -> &mut Self
Set the mid limits
Trait Implementations
sourceimpl Debug for ZalgoBuilder
impl Debug for ZalgoBuilder
Auto Trait Implementations
impl RefUnwindSafe for ZalgoBuilder
impl Send for ZalgoBuilder
impl Sync for ZalgoBuilder
impl Unpin for ZalgoBuilder
impl UnwindSafe for ZalgoBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more