pub struct CodepointTransformation {
pub transform: Box<dyn Fn(usize, char) -> char>,
}Expand description
Internal 1-to-1 codepoint transformation for password obfuscation.
Corresponds to Compose’s CodepointTransformation.
Fields§
§transform: Box<dyn Fn(usize, char) -> char>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CodepointTransformation
impl !Send for CodepointTransformation
impl !Sync for CodepointTransformation
impl !UnwindSafe for CodepointTransformation
impl Freeze for CodepointTransformation
impl Unpin for CodepointTransformation
impl UnsafeUnpin for CodepointTransformation
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