Enum caseconv::dynamic::CaseType [] [src]

#[repr(C)]
pub enum CaseType { CAMEL, SNAKE, KEBAB, }

Runtime data type representing a case

Variants

Methods

impl CaseType
[src]

Attempts to guess the case of a given string by counting the # of components parsed for each case, and returning the one that finds the most.

Trait Implementations

impl Clone for CaseType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for CaseType
[src]

Returns the "default value" for a type. Read more

impl<'a, 'b> DefiningCase<'a, CaseTypeIterator<'a>> for &'b CaseType
[src]

impl<'b> Case for &'b CaseType
[src]