pub(crate) struct DynAdapter(Arc<dyn AdapterInterface>);
Available on
custom
only.Tuple Fields§
§0: Arc<dyn AdapterInterface>
Implementations§
Source§impl DynAdapter
impl DynAdapter
pub(crate) fn new<T: AdapterInterface>(t: T) -> Self
Trait Implementations§
Source§impl Clone for DynAdapter
impl Clone for DynAdapter
Source§fn clone(&self) -> DynAdapter
fn clone(&self) -> DynAdapter
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 DynAdapter
impl Debug for DynAdapter
Source§impl Deref for DynAdapter
impl Deref for DynAdapter
Source§impl Hash for DynAdapter
impl Hash for DynAdapter
Source§impl Ord for DynAdapter
impl Ord for DynAdapter
Source§impl PartialEq for DynAdapter
impl PartialEq for DynAdapter
Source§impl PartialOrd for DynAdapter
impl PartialOrd for DynAdapter
impl Eq for DynAdapter
Auto Trait Implementations§
impl Freeze for DynAdapter
impl !RefUnwindSafe for DynAdapter
impl Send for DynAdapter
impl Sync for DynAdapter
impl Unpin for DynAdapter
impl !UnwindSafe for DynAdapter
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.