pub struct Constraints;Expand description
Builder for common constraints.
Implementations§
Source§impl Constraints
impl Constraints
Sourcepub const fn ascii_only() -> AsciiOnly
pub const fn ascii_only() -> AsciiOnly
Create an ASCII-only constraint.
Auto Trait Implementations§
impl Freeze for Constraints
impl RefUnwindSafe for Constraints
impl Send for Constraints
impl Sync for Constraints
impl Unpin for Constraints
impl UnsafeUnpin for Constraints
impl UnwindSafe for Constraints
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