Enum bat::NonprintableNotation
source · #[non_exhaustive]pub enum NonprintableNotation {
Caret,
Unicode,
}
Expand description
How to print non-printable characters with crate::config::Config::show_nonprintable
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for NonprintableNotation
impl Clone for NonprintableNotation
source§fn clone(&self) -> NonprintableNotation
fn clone(&self) -> NonprintableNotation
Returns a copy 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 NonprintableNotation
impl Debug for NonprintableNotation
source§impl Default for NonprintableNotation
impl Default for NonprintableNotation
source§fn default() -> NonprintableNotation
fn default() -> NonprintableNotation
Returns the “default value” for a type. Read more
source§impl PartialEq for NonprintableNotation
impl PartialEq for NonprintableNotation
source§fn eq(&self, other: &NonprintableNotation) -> bool
fn eq(&self, other: &NonprintableNotation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NonprintableNotation
impl Eq for NonprintableNotation
impl StructuralEq for NonprintableNotation
impl StructuralPartialEq for NonprintableNotation
Auto Trait Implementations§
impl RefUnwindSafe for NonprintableNotation
impl Send for NonprintableNotation
impl Sync for NonprintableNotation
impl Unpin for NonprintableNotation
impl UnwindSafe for NonprintableNotation
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.