Trait Normalize

Source
pub trait Normalize {
    // Required method
    fn normalize(self) -> Self;
}

Required Methods§

Source

fn normalize(self) -> Self

Normalizing in the context of Taplo the following:

  • replaces \ with / on windows
  • decodes all percent-encoded characters

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Normalize for PathBuf

Source§

fn normalize(self) -> Self

Implementors§