Searched refs:CasingStyle (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/structopt-derive/src/ |
D | attrs.rs | 55 pub enum CasingStyle { enum 83 casing: Sp<CasingStyle>, 84 env_casing: Sp<CasingStyle>, 181 impl CasingStyle { implementation 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 …]
|
D | lib.rs | 27 attrs::{Attrs, CasingStyle, Kind, Name, ParserKind}, 38 const DEFAULT_CASING: CasingStyle = CasingStyle::Kebab; 41 const DEFAULT_ENV_CASING: CasingStyle = CasingStyle::ScreamingSnake;
|