Case

Trait Case 

Source
pub trait Case {
    // Required method
    fn build_identifier<'a, It: Iterator<Item = &'a str>>(
        self,
        components: It,
    ) -> String;
}
Expand description

Represents a case that can be rendered from components

Required Methods§

Source

fn build_identifier<'a, It: Iterator<Item = &'a str>>( self, components: It, ) -> String

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 Case for Camel

Source§

impl<'b> Case for &'b CaseType

Source§

impl<T: DelimetedCase> Case for T