pub enum Rendered {
Text {
kind: String,
text: String,
},
Files(Vec<(String, String)>),
Error {
diag: Diag,
file: Option<String>,
},
}Expand description
a root in its declared form: one text, the files of a fan-out, or the error
Variants§
Text
one text, of the kind json, yaml, or text (a template’s)
Files(Vec<(String, String)>)
the files of a fan-out root, in element order
Error
the error, with the template’s path when a template is at fault
Trait Implementations§
Auto Trait Implementations§
impl Forget for Rendered
impl Freeze for Rendered
impl Move for Rendered
impl RefUnwindSafe for Rendered
impl Send for Rendered
impl Sync for Rendered
impl Unpin for Rendered
impl UnsafeUnpin for Rendered
impl UnwindSafe for Rendered
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