Trait ImplToFromPaxAny

Source
pub trait ImplToFromPaxAny: 'static { }
Expand description

Marker trait. Implement only for types that are not part of PaxValue, but need to be stored inside a PaxAny. If they are part of pax value, instead implement CoercionRules manually, or using the default impl macro as seen in coercion_impls.rs

Implementations on Foreign Types§

Source§

impl ImplToFromPaxAny for ()

Source§

impl<I> ImplToFromPaxAny for Range<I>
where I: Clone + 'static,

Source§

impl<T1, T2> ImplToFromPaxAny for (T1, T2)
where T1: Clone + 'static, T2: Clone + 'static,

Source§

impl<T> ImplToFromPaxAny for Option<T>
where T: Clone + 'static,

Source§

impl<T> ImplToFromPaxAny for Rc<T>
where T: 'static,

Source§

impl<T> ImplToFromPaxAny for Weak<T>
where T: Clone + 'static,

Implementors§