pub struct InstanceWrapper { /* private fields */ }Implementations§
Source§impl InstanceWrapper
impl InstanceWrapper
pub fn new(token: InstanceToken, host: RefMut<Module>) -> InstanceWrapper
pub fn get_id(&self) -> InstanceWrapperId
pub fn get_token(&self) -> InstanceToken
pub fn get_host(&self) -> RefMut<Module>
pub fn get_scope(&self) -> Scope
pub fn set_scope(&mut self, scope: Scope)
pub fn has_instance(&self) -> bool
pub fn set_instance(&mut self, instance: Instance)
pub fn get_instances(&self) -> Vec<Instance> ⓘ
pub fn get_instance(&self) -> Option<Instance>
pub fn set_instance_by_inquirer_id( &mut self, inquirer_id: InquirerId, context_id: ContextId, instance: Instance, )
pub fn get_instance_by_inquirer_id( &self, inquirer_id: &InquirerId, context_id: &ContextId, ) -> Option<Instance>
pub fn has_instance_by_inquirer_id( &self, inquirer_id: &InquirerId, context_id: &ContextId, ) -> bool
pub fn set_instance_by_context_id( &mut self, context_id: ContextId, instance: Instance, )
pub fn get_instance_by_context_id( &self, context_id: &ContextId, ) -> Option<Instance>
Auto Trait Implementations§
impl Freeze for InstanceWrapper
impl RefUnwindSafe for InstanceWrapper
impl Send for InstanceWrapper
impl Sync for InstanceWrapper
impl Unpin for InstanceWrapper
impl UnwindSafe for InstanceWrapper
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