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§
Sourcefn to_snek_case(&self) -> Self::Owned
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.