pub struct Finding {
pub original: char,
pub ascii_equivalent: char,
pub byte_pos: usize,
}Expand description
One detected lookalike.
Fields§
§original: charThe lookalike char as it appeared in the input.
ascii_equivalent: charThe ASCII letter it impersonates.
byte_pos: usize0-based byte position in the source string.
Trait Implementations§
impl Copy for Finding
impl Eq for Finding
impl StructuralPartialEq for Finding
Auto Trait Implementations§
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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