pub struct FileOutput {
pub files: Vec<OutputFile>,
pub native_hook_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 native hook as written, and the file
generated from [hooks].
Fields§
§files: Vec<OutputFile>§native_hook_problem: Option<&'static str>What is wrong with the native hook, 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_native_hook_beside_generated(&self) -> bool
pub fn has_native_hook_beside_generated(&self) -> bool
Whether a native hook 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 Forget for FileOutput
impl Freeze for FileOutputwhere
*const u8 is !null: Freeze,
PhantomData<OutputFile>: Freeze,
&'static str: Freeze,
PhantomData<Skip>: Freeze,
impl Move for FileOutput
impl RefUnwindSafe for FileOutput
impl Send for FileOutput
impl Sync for FileOutputwhere
RawVecInner: Sync,
impl Unpin for FileOutput
impl UnsafeUnpin for FileOutputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<OutputFile>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<Skip>: UnsafeUnpin,
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