phantom 0.0.4

Phantom types for use in other crates.
1
2
3
4
5
6
7
8
9
10
11
12
#![deprecated(reason = "Use std::marker::PhantomData instead.", since = "0.0.4")]
#![deny(missing_docs)]
#![deny(warnings)]

//! Exposes `Phantom`, which is useful for hinting type parameters.

/// Can be used to hint types in places where it is necessary.
///
/// Takes the place of `None::<T>` but is cleaner and more direct.
#[deprecated(reason = "Use std::marker::PhantomData instead.", since = "0.0.4")]
pub struct Phantom;