Skip to main content

Normalize

Trait Normalize 

Source
pub trait Normalize {
    // Required method
    fn normalize(&mut self);
}
Expand description

Mutate a value into canonical form before checks.

Required Methods§

Source

fn normalize(&mut self)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Normalize for ()

Source§

fn normalize(&mut self)

Source§

impl Normalize for IpAddr

Source§

fn normalize(&mut self)

Source§

impl Normalize for Ipv4Addr

Source§

fn normalize(&mut self)

Source§

impl Normalize for Ipv6Addr

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroI8

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroI16

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroI32

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroI64

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroI128

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroIsize

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroU8

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroU16

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroU32

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroU64

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroU128

Source§

fn normalize(&mut self)

Source§

impl Normalize for NonZeroUsize

Source§

fn normalize(&mut self)

Source§

impl Normalize for String

Source§

fn normalize(&mut self)

Source§

impl Normalize for bool

Source§

fn normalize(&mut self)

Source§

impl Normalize for char

Source§

fn normalize(&mut self)

Source§

impl Normalize for f32

Source§

fn normalize(&mut self)

Source§

impl Normalize for f64

Source§

fn normalize(&mut self)

Source§

impl Normalize for i8

Source§

fn normalize(&mut self)

Source§

impl Normalize for i16

Source§

fn normalize(&mut self)

Source§

impl Normalize for i32

Source§

fn normalize(&mut self)

Source§

impl Normalize for i64

Source§

fn normalize(&mut self)

Source§

impl Normalize for i128

Source§

fn normalize(&mut self)

Source§

impl Normalize for isize

Source§

fn normalize(&mut self)

Source§

impl Normalize for str

Source§

fn normalize(&mut self)

Source§

impl Normalize for u8

Source§

fn normalize(&mut self)

Source§

impl Normalize for u16

Source§

fn normalize(&mut self)

Source§

impl Normalize for u32

Source§

fn normalize(&mut self)

Source§

impl Normalize for u64

Source§

fn normalize(&mut self)

Source§

impl Normalize for u128

Source§

fn normalize(&mut self)

Source§

impl Normalize for usize

Source§

fn normalize(&mut self)

Source§

impl<'a, T> Normalize for Cow<'a, T>
where T: ?Sized + ToOwned, T::Owned: Normalize,

Source§

fn normalize(&mut self)

Source§

impl<K, V: Normalize> Normalize for BTreeMap<K, V>

Source§

fn normalize(&mut self)

Source§

impl<K: Eq + Hash, V: Normalize, H: BuildHasher> Normalize for HashMap<K, V, H>

Source§

fn normalize(&mut self)

Source§

impl<T: Normalize + Clone> Normalize for Arc<T>

Source§

fn normalize(&mut self)

Source§

impl<T: Normalize + Clone> Normalize for Rc<T>

Source§

fn normalize(&mut self)

Source§

impl<T: Normalize + Eq + Hash, H: BuildHasher + Default> Normalize for HashSet<T, H>

Source§

fn normalize(&mut self)

Source§

impl<T: Normalize + Ord> Normalize for BTreeSet<T>

Source§

fn normalize(&mut self)

Source§

impl<T: Normalize, const N: usize> Normalize for [T; N]

Source§

fn normalize(&mut self)

Source§

impl<T: Normalize> Normalize for Box<T>

Source§

fn normalize(&mut self)

Source§

impl<T: Normalize> Normalize for Option<T>

Source§

fn normalize(&mut self)

Source§

impl<T: Normalize> Normalize for Vec<T>

Source§

fn normalize(&mut self)

Source§

impl<T: Normalize> Normalize for VecDeque<T>

Source§

fn normalize(&mut self)

Implementors§