heck

Trait ToSnekCase

Source
pub trait ToSnekCase: ToOwned {
    // Required method
    fn to_snek_case(&self) -> Self::Owned;
}
Expand description

Oh heck, SnekCase is an alias for ToSnakeCase. See ToSnakeCase for more documentation.

Required Methods§

Source

fn to_snek_case(&self) -> Self::Owned

Convert this type to snek case.

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.

Implementors§