heck

Trait SnekCase

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

Oh heck, SnekCase is an alias for SnakeCase. See SnakeCase 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§

Source§

impl<T: ?Sized + SnakeCase> SnekCase for T