pub struct HookRenderContext<'a> {
pub capability_id: &'a str,
pub hook: &'a HookConfig,
pub source_files: &'a [(String, Vec<u8>)],
pub repo_root: &'a Path,
pub track_managed_hooks: bool,
}Fields§
§capability_id: &'a str§hook: &'a HookConfig§source_files: &'a [(String, Vec<u8>)]§repo_root: &'a Path§track_managed_hooks: boolTrait Implementations§
Source§impl<'a> Clone for HookRenderContext<'a>
impl<'a> Clone for HookRenderContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for HookRenderContext<'a>
impl<'a> RefUnwindSafe for HookRenderContext<'a>
impl<'a> Send for HookRenderContext<'a>
impl<'a> Sync for HookRenderContext<'a>
impl<'a> Unpin for HookRenderContext<'a>
impl<'a> UnsafeUnpin for HookRenderContext<'a>
impl<'a> UnwindSafe for HookRenderContext<'a>
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