Home
last modified time | relevance | path

Searched refs:CasingStyle (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/structopt-derive/src/
Dattrs.rs55 pub enum CasingStyle { enum
83 casing: Sp<CasingStyle>,
84 env_casing: Sp<CasingStyle>,
181 impl CasingStyle { impl
183 use CasingStyle::*; in from_lit()
203 pub fn translate(self, style: CasingStyle) -> TokenStream { in translate()
204 use CasingStyle::*; in translate()
232 casing: Sp<CasingStyle>, in new() argument
233 env_casing: Sp<CasingStyle>, in new() argument
360 self.casing = CasingStyle::from_lit(casing_lit); in push_attrs()
[all …]
Dlib.rs27 attrs::{Attrs, CasingStyle, Kind, Name, ParserKind},
38 const DEFAULT_CASING: CasingStyle = CasingStyle::Kebab;
41 const DEFAULT_ENV_CASING: CasingStyle = CasingStyle::ScreamingSnake;