pub struct Banned(/* private fields */);Expand description
Set of character to strip from input without replacement.
Implementations§
source§impl Banned
impl Banned
sourcepub unsafe fn customize_default() -> &'static mut Self
Available on crate feature customize only.
pub unsafe fn customize_default() -> &'static mut Self
customize only.Allows direct mutable access to the global default set of banned characters.
§Safety
You must manually avoid concurrent access/censoring.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Banned
impl RefUnwindSafe for Banned
impl Send for Banned
impl Sync for Banned
impl Unpin for Banned
impl UnwindSafe for Banned
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