pub struct Context<'a> {
pub names: &'a FiltersNames,
pub runtime: &'a Path,
pub flag: &'a Ident,
}Expand description
What an integration knows of the mirror it adds to.
Fields§
§names: &'a FiltersNamesThe names of the mirror’s generated types.
runtime: &'a PathThe runtime crate the generated code names.
flag: &'a IdentThe integration’s flag, as written in #[filters(...)]: where to
report what concerns the integration (e.g. a disabled feature).
Auto Trait Implementations§
impl<'a> !Send for Context<'a>
impl<'a> !Sync for Context<'a>
impl<'a> Freeze for Context<'a>
impl<'a> RefUnwindSafe for Context<'a>
impl<'a> Unpin for Context<'a>
impl<'a> UnsafeUnpin for Context<'a>
impl<'a> UnwindSafe for Context<'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