Trait std::marker::MarkerTraitUnstable
[-] [+]
[src]
pub trait MarkerTrait: PhantomFn<Self, ()> where Self: PhantomFn<Self, ()> { }
MarkerTrait
is intended to be used as the supertrait for traits
that don't have any methods but instead serve just to designate
categories of types. An example would be the Send
trait, which
indicates types that are sendable: Send
does not itself offer
any methods, but instead is used to gate access to data.
FIXME. Better documentation needed here!
Implementors
impl<T> MarkerTrait for T where T: ?Sized