Trait heck::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.

Object Safety§

This trait is not object safe.

Implementors§

source§

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