pub struct FnSummary {
pub path: String,
pub effects: Vec<Effect>,
pub opaque: Vec<String>,
pub panics: bool,
pub deferred: Vec<String>,
}Expand description
The summary of one function, as stored for other crates.
Fields§
§path: StringThe function’s path, for people.
effects: Vec<Effect>§opaque: Vec<String>Calls the driver could not see through (function pointers, dyn methods without a
verb, other crates’ functions without a summary).
panics: boolIt may panic explicitly (unwrap, expect, panic!, assert!) in the user’s code,
directly or through the user’s own functions.
deferred: Vec<String>Trait methods it calls through dyn or an unresolved generic, by key: their effects
are the union over every implementation in the build, resolved by link.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FnSummary
impl<'de> Deserialize<'de> for FnSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for FnSummary
impl Freeze for FnSummary
impl Move for FnSummary
impl RefUnwindSafe for FnSummary
impl Send for FnSummary
impl Sync for FnSummary
impl Unpin for FnSummary
impl UnsafeUnpin for FnSummary
impl UnwindSafe for FnSummary
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