Struct rupta::mir::call_site::BaseCallSiteS
source · pub struct BaseCallSiteS<F> {
pub func: F,
pub location: Location,
}Expand description
A base callsite, consisting of the basic information, i.e. the call’s location in the code.
Fields§
§func: F§location: LocationImplementations§
Trait Implementations§
source§impl<F: Clone> Clone for BaseCallSiteS<F>
impl<F: Clone> Clone for BaseCallSiteS<F>
source§fn clone(&self) -> BaseCallSiteS<F>
fn clone(&self) -> BaseCallSiteS<F>
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<F: Debug> Debug for BaseCallSiteS<F>
impl<F: Debug> Debug for BaseCallSiteS<F>
source§impl From<&BaseCallSiteS<CSFuncId>> for BaseCallSite
impl From<&BaseCallSiteS<CSFuncId>> for BaseCallSite
source§fn from(callsite: &CSBaseCallSite) -> Self
fn from(callsite: &CSBaseCallSite) -> Self
Converts to this type from the input type.
source§impl From<BaseCallSiteS<CSFuncId>> for BaseCallSite
impl From<BaseCallSiteS<CSFuncId>> for BaseCallSite
source§fn from(callsite: CSBaseCallSite) -> Self
fn from(callsite: CSBaseCallSite) -> Self
Converts to this type from the input type.
source§impl<F: Hash> Hash for BaseCallSiteS<F>
impl<F: Hash> Hash for BaseCallSiteS<F>
source§impl<F: PartialEq> PartialEq for BaseCallSiteS<F>
impl<F: PartialEq> PartialEq for BaseCallSiteS<F>
source§fn eq(&self, other: &BaseCallSiteS<F>) -> bool
fn eq(&self, other: &BaseCallSiteS<F>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<F: Copy> Copy for BaseCallSiteS<F>
impl<F: Eq> Eq for BaseCallSiteS<F>
impl<F> StructuralPartialEq for BaseCallSiteS<F>
Auto Trait Implementations§
impl<F> RefUnwindSafe for BaseCallSiteS<F>where
F: RefUnwindSafe,
impl<F> Send for BaseCallSiteS<F>where
F: Send,
impl<F> Sync for BaseCallSiteS<F>where
F: Sync,
impl<F> Unpin for BaseCallSiteS<F>where
F: Unpin,
impl<F> UnwindSafe for BaseCallSiteS<F>where
F: 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
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.