Struct depdive::code::CodeAnalyzer [−][src]
pub struct CodeAnalyzer { /* fields omitted */ }
Expand description
Provides loc and unsafe loc analysis for all dependencies given a guppy graph
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CodeAnalyzer
impl Send for CodeAnalyzer
impl !Sync for CodeAnalyzer
impl Unpin for CodeAnalyzer
impl UnwindSafe for CodeAnalyzer
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more