pub struct Form {
pub yaml: bool,
pub indent: Option<usize>,
pub template: Option<String>,
pub file: Option<String>,
pub each: Option<String>,
pub delimiters: Option<Delimiters>,
}Expand description
the declared form of a root (§3): what @render says, every key optional
Fields§
§yaml: bool"yaml", else JSON
indent: Option<usize>the layout (§4)
template: Option<String>a template file (§5), relative to the module’s directory
file: Option<String>the default destination (§3.2)
each: Option<String>fan-out (§6)
delimiters: Option<Delimiters>the template’s delimiters
Trait Implementations§
impl StructuralPartialEq for Form
Auto Trait Implementations§
impl Forget for Form
impl Freeze for Form
impl Move for Form
impl RefUnwindSafe for Form
impl Send for Form
impl Sync for Form
impl Unpin for Form
impl UnsafeUnpin for Form
impl UnwindSafe for Form
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