pub struct Config {
pub flags: BTreeMap<String, FlagValue>,
pub unicode: bool,
}Expand description
Internal config representation. None means “use the default”; a Some
value carries either a clean bool or the raw string from a config source
so §15.1 (Jots/Validation/InvalidFlagValue) can flag bad inputs.
Fields§
§flags: BTreeMap<String, FlagValue>§unicode: boolVariant toggle: false = Jot Syntax (ASCII identifiers),
true = Iota Syntaxis (Unicode XID identifiers). API-level
only — deliberately NOT a §9 config flag: the spec’s flag
list is closed and shared verbatim by both variants, so this
is never read from .jot.toml or JOTS_* env vars.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more