pub struct FileFacts {
pub loc: usize,
pub imports: Vec<Import>,
pub risks: BTreeMap<Risk, Vec<u32>>,
pub platforms: BTreeSet<Platform>,
pub loops: usize,
pub parse_errors: usize,
}Fields§
§loc: usize§imports: Vec<Import>§risks: BTreeMap<Risk, Vec<u32>>Lines (1-based) where each risk shows up.
platforms: BTreeSet<Platform>§loops: usize§parse_errors: usizeTrait Implementations§
Auto Trait Implementations§
impl Forget for FileFacts
impl Freeze for FileFactswhere
*const u8 is !null: Freeze,
PhantomData<Import>: Freeze,
*const LeafNode<Risk, Vec<u32>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(Risk, Vec<u32>)>>: Freeze,
*const LeafNode<Platform, SetValZST> is !null: Freeze,
PhantomData<Box<(Platform, SetValZST)>>: Freeze,
impl Move for FileFacts
impl RefUnwindSafe for FileFacts
impl Send for FileFacts
impl Sync for FileFacts
impl Unpin for FileFacts
impl UnsafeUnpin for FileFactswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Import>: UnsafeUnpin,
*const LeafNode<Risk, Vec<u32>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(Risk, Vec<u32>)>>: UnsafeUnpin,
*const LeafNode<Platform, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(Platform, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for FileFactswhere
RawVecInner: UnwindSafe,
BTreeMap<Risk, Vec<u32>>: UnwindSafe,
BTreeMap<Platform, SetValZST>: UnwindSafe,
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