pub(crate) struct DynContext(Arc<dyn InstanceInterface>);
Available on
custom
only.Tuple Fields§
§0: Arc<dyn InstanceInterface>
Implementations§
Source§impl DynContext
impl DynContext
pub(crate) fn new<T: InstanceInterface>(t: T) -> Self
Trait Implementations§
Source§impl Clone for DynContext
impl Clone for DynContext
Source§fn clone(&self) -> DynContext
fn clone(&self) -> DynContext
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 Debug for DynContext
impl Debug for DynContext
Source§impl Deref for DynContext
impl Deref for DynContext
Source§impl Hash for DynContext
impl Hash for DynContext
Source§impl Ord for DynContext
impl Ord for DynContext
Source§impl PartialEq for DynContext
impl PartialEq for DynContext
Source§impl PartialOrd for DynContext
impl PartialOrd for DynContext
impl Eq for DynContext
Auto Trait Implementations§
impl Freeze for DynContext
impl !RefUnwindSafe for DynContext
impl Send for DynContext
impl Sync for DynContext
impl Unpin for DynContext
impl !UnwindSafe for DynContext
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.