[][src]Trait fwd_ad::owning_markers::CompatibleWith

pub trait CompatibleWith<OM: OwningMode, F> { }

A trait to indicate whether a given container type is compatible with a given RO/RW marker.

Implementors

impl<F, T: ROAble<F> + ?Sized> CompatibleWith<RO, F> for T[src]

Being read-only means containers only need to have the capability to borrow their content, not necessarily mutably.

impl<F, T: RWAble<F> + ?Sized> CompatibleWith<RW, F> for T[src]

Being read-write means containers need to be able to mutably borrow their content.

Loading content...