pub struct DiagContext<'a> {
pub game_id: &'a str,
pub profile: &'a Profile,
pub active_plugins: &'a [String],
pub conflict_map: &'a ConflictMap,
pub collision_report: Option<&'a CollisionReport>,
pub store_dir: &'a Path,
pub staging_dir: &'a Path,
}Expand description
Context passed to diagnostic rules for analysis.
Fields§
§game_id: &'a str§profile: &'a Profile§active_plugins: &'a [String]§conflict_map: &'a ConflictMap§collision_report: Option<&'a CollisionReport>§store_dir: &'a Path§staging_dir: &'a PathAuto Trait Implementations§
impl<'a> Freeze for DiagContext<'a>
impl<'a> RefUnwindSafe for DiagContext<'a>
impl<'a> Send for DiagContext<'a>
impl<'a> Sync for DiagContext<'a>
impl<'a> Unpin for DiagContext<'a>
impl<'a> UnsafeUnpin for DiagContext<'a>
impl<'a> UnwindSafe for DiagContext<'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