pub struct KeyDesc {
pub name: &'static str,
pub kind: KeyKind,
pub default: &'static str,
pub doc: &'static str,
}Expand description
One key of one structural table.
Fields§
§name: &'static strThe key as it is written in the file.
kind: KeyKindWhat it accepts.
default: &'static strWhat the loader uses when the key is absent, written as it would appear in TOML. Empty where absence means something other than a value — a required key, or one whose absence turns a feature off rather than selecting a value.
doc: &'static strOne line: what it does.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyDesc
impl RefUnwindSafe for KeyDesc
impl Send for KeyDesc
impl Sync for KeyDesc
impl Unpin for KeyDesc
impl UnsafeUnpin for KeyDesc
impl UnwindSafe for KeyDesc
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