pub struct TableDesc {
pub name: &'static str,
pub doc: &'static str,
pub keys: &'static [KeyDesc],
}Expand description
One structural table a preset may write.
Fields§
§name: &'static strThe table’s name — its TOML header, or the name a KeyKind::Table
refers to it by. preset is the document root.
doc: &'static strOne line: what the table is for.
keys: &'static [KeyDesc]Its keys, in declaration order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TableDesc
impl RefUnwindSafe for TableDesc
impl Send for TableDesc
impl Sync for TableDesc
impl Unpin for TableDesc
impl UnsafeUnpin for TableDesc
impl UnwindSafe for TableDesc
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