Skip to main content

DynRef

Trait DynRef 

Source
pub trait DynRef:
    'static
    + Sync
    + Send { }
Expand description

Helper trait for avoiding verbose trait constraints.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: 'static + Sync + Send + ?Sized> DynRef for T

Available on crate features par_any or rt only.