pub struct FileOutput {
pub files: Vec<OutputFile>,
pub fragment_problem: Option<&'static str>,
pub skips: Vec<Skip>,
pub answer_limits: Vec<Skip>,
}Expand description
A file target’s files for a hook: the authored fragment as written, and the file
generated from [hooks].
Fields§
§files: Vec<OutputFile>§fragment_problem: Option<&'static str>What is wrong with the fragment, if anything; it is installed regardless.
skips: Vec<Skip>§answer_limits: Vec<Skip>Rendered events whose portable answers do not all carry over to the target.
Implementations§
Source§impl FileOutput
impl FileOutput
Sourcepub fn has_fragment_beside_generated(&self) -> bool
pub fn has_fragment_beside_generated(&self) -> bool
Whether a fragment installs next to a file generated from [hooks].
Trait Implementations§
Source§impl Clone for FileOutput
impl Clone for FileOutput
Source§impl Debug for FileOutput
impl Debug for FileOutput
Source§impl Default for FileOutput
impl Default for FileOutput
Source§impl PartialEq for FileOutput
impl PartialEq for FileOutput
Source§impl Serialize for FileOutput
impl Serialize for FileOutput
impl StructuralPartialEq for FileOutput
Auto Trait Implementations§
impl Freeze for FileOutput
impl RefUnwindSafe for FileOutput
impl Send for FileOutput
impl Sync for FileOutput
impl Unpin for FileOutput
impl UnsafeUnpin for FileOutput
impl UnwindSafe for FileOutput
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