pub struct FunctionSummary<'tcx> {
pub return_def: Option<SymbolicDef<'tcx>>,
}Expand description
A summary of a function’s behavior.
Fields§
§return_def: Option<SymbolicDef<'tcx>>Implementations§
Source§impl<'tcx> FunctionSummary<'tcx>
impl<'tcx> FunctionSummary<'tcx>
Sourcepub fn new(def: Option<SymbolicDef<'tcx>>) -> Self
pub fn new(def: Option<SymbolicDef<'tcx>>) -> Self
Create a new FunctionSummary.
Trait Implementations§
Source§impl<'tcx> Clone for FunctionSummary<'tcx>
impl<'tcx> Clone for FunctionSummary<'tcx>
Source§fn clone(&self) -> FunctionSummary<'tcx>
fn clone(&self) -> FunctionSummary<'tcx>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'tcx> Freeze for FunctionSummary<'tcx>
impl<'tcx> !RefUnwindSafe for FunctionSummary<'tcx>
impl<'tcx> Send for FunctionSummary<'tcx>
impl<'tcx> Sync for FunctionSummary<'tcx>
impl<'tcx> Unpin for FunctionSummary<'tcx>
impl<'tcx> !UnwindSafe for FunctionSummary<'tcx>
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