Skip to main content

ConstMarkerOf

Trait ConstMarkerOf 

Source
pub trait ConstMarkerOf<Of>: ConstMarker<Of = Of> { }
Expand description

Trait alias for ConstMarker<Of = Of>

This trait also shows the Of type in unsatisfied trait bound errors (ConstMarker<Of = ...> bounds obfuscate this a bit as of 1.89.0)

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<C, Of> ConstMarkerOf<Of> for C
where C: ConstMarker<Of = Of>,