pub struct ProjectInfo<'a> {
pub kind: Kind,
pub config: &'a [ConfigOverride],
pub native: &'a NativeNames,
}Expand description
Facts about the project that resolution needs.
Fields§
§kind: Kindcli or lib.
config: &'a [ConfigOverride]Overrides from [config.*], checked against the constants (E0613).
native: &'a NativeNamesNames of native modules that are not available, with the reason (E0713).
Auto Trait Implementations§
impl<'a> Freeze for ProjectInfo<'a>
impl<'a> RefUnwindSafe for ProjectInfo<'a>
impl<'a> Send for ProjectInfo<'a>
impl<'a> Sync for ProjectInfo<'a>
impl<'a> Unpin for ProjectInfo<'a>
impl<'a> UnsafeUnpin for ProjectInfo<'a>
impl<'a> UnwindSafe for ProjectInfo<'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