Struct rupta::mir::call_site::ExtCallSiteS
source · pub struct ExtCallSiteS<'tcx, F, P> {
pub callsite: Rc<CallSiteS<F, P>>,
pub callee_def_id: DefId,
pub callee_substs: GenericArgsRef<'tcx>,
}Expand description
A detailed callsite, including information of callee’s def_id and generic args.
Fields§
§callsite: Rc<CallSiteS<F, P>>§callee_def_id: DefId§callee_substs: GenericArgsRef<'tcx>Implementations§
source§impl<'tcx, F, P> ExtCallSiteS<'tcx, F, P>
impl<'tcx, F, P> ExtCallSiteS<'tcx, F, P>
Trait Implementations§
source§impl<'tcx, F: Clone, P: Clone> Clone for ExtCallSiteS<'tcx, F, P>
impl<'tcx, F: Clone, P: Clone> Clone for ExtCallSiteS<'tcx, F, P>
source§fn clone(&self) -> ExtCallSiteS<'tcx, F, P>
fn clone(&self) -> ExtCallSiteS<'tcx, F, P>
Returns a copy 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 moresource§impl<'tcx, F: PartialEq, P: PartialEq> PartialEq for ExtCallSiteS<'tcx, F, P>
impl<'tcx, F: PartialEq, P: PartialEq> PartialEq for ExtCallSiteS<'tcx, F, P>
source§fn eq(&self, other: &ExtCallSiteS<'tcx, F, P>) -> bool
fn eq(&self, other: &ExtCallSiteS<'tcx, F, P>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'tcx, F: Eq, P: Eq> Eq for ExtCallSiteS<'tcx, F, P>
impl<'tcx, F, P> StructuralPartialEq for ExtCallSiteS<'tcx, F, P>
Auto Trait Implementations§
impl<'tcx, F, P> !RefUnwindSafe for ExtCallSiteS<'tcx, F, P>
impl<'tcx, F, P> !Send for ExtCallSiteS<'tcx, F, P>
impl<'tcx, F, P> !Sync for ExtCallSiteS<'tcx, F, P>
impl<'tcx, F, P> Unpin for ExtCallSiteS<'tcx, F, P>
impl<'tcx, F, P> !UnwindSafe for ExtCallSiteS<'tcx, F, P>
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.