pub struct ByteScanResult {
pub has_ansi_escapes: bool,
pub has_control_chars: bool,
pub has_bidi_controls: bool,
pub has_zero_width: bool,
pub has_invalid_utf8: bool,
pub has_unicode_tags: bool,
pub has_variation_selectors: bool,
pub has_invisible_math_operators: bool,
pub has_invisible_whitespace: bool,
pub details: Vec<ByteFinding>,
}Expand description
Control character patterns for paste-time byte scanning.
Fields§
§has_ansi_escapes: bool§has_control_chars: bool§has_bidi_controls: bool§has_zero_width: bool§has_invalid_utf8: bool§has_variation_selectors: bool§has_invisible_math_operators: bool§has_invisible_whitespace: bool§details: Vec<ByteFinding>Auto Trait Implementations§
impl Freeze for ByteScanResult
impl RefUnwindSafe for ByteScanResult
impl Send for ByteScanResult
impl Sync for ByteScanResult
impl Unpin for ByteScanResult
impl UnsafeUnpin for ByteScanResult
impl UnwindSafe for ByteScanResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more