pub struct MaskConfig { /* private fields */ }Expand description
Configuration that masks selected segments while leaving the remainder unchanged.
Masking operates on Unicode scalar values and bounds the masked spans for short inputs.
Use the constructor methods MaskConfig::first and MaskConfig::last
to create instances.
Implementations§
Source§impl MaskConfig
impl MaskConfig
Trait Implementations§
Source§impl Clone for MaskConfig
impl Clone for MaskConfig
Source§fn clone(&self) -> MaskConfig
fn clone(&self) -> MaskConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MaskConfig
impl Debug for MaskConfig
impl Copy for MaskConfig
Auto Trait Implementations§
impl Freeze for MaskConfig
impl RefUnwindSafe for MaskConfig
impl Send for MaskConfig
impl Sync for MaskConfig
impl Unpin for MaskConfig
impl UnwindSafe for MaskConfig
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