pub trait ShellDialect:
Default
+ Send
+ Sync
+ 'static {
const NAME: &'static str;
}Expand description
Which shell a ShellMetaLanguage speaks.
The two dialects reconstruct fragments identically — zsh’s grammar is a fork
of bash’s and their double-quoting rules are the same — so the dialect is
carried only so that a refusal names the host the user actually wrote, the
way crate::langs::lean::meta has to accept both lean and lean4.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".