Struct rupta::pta::context_strategy::KObjectSensitive
source · pub struct KObjectSensitive { /* private fields */ }Implementations§
Trait Implementations§
source§impl ContextStrategy for KObjectSensitive
impl ContextStrategy for KObjectSensitive
type E = Rc<Path>
fn empty_context(&self) -> Rc<Context<Rc<Path>>>
fn get_context_id(&mut self, context: &Rc<Context<Rc<Path>>>) -> ContextId
fn get_context_by_id(&self, context_id: ContextId) -> Rc<Context<Rc<Path>>>
fn get_empty_context_id(&mut self) -> ContextId
fn new_instance_call_context( &mut self, _callsite: &Rc<CSCallSite>, receiver: Option<&Rc<CSPath>> ) -> Option<ContextId>
fn new_static_call_context(&mut self, callsite: &Rc<CSCallSite>) -> ContextId
Auto Trait Implementations§
impl RefUnwindSafe for KObjectSensitive
impl !Send for KObjectSensitive
impl !Sync for KObjectSensitive
impl Unpin for KObjectSensitive
impl UnwindSafe for KObjectSensitive
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