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