Trait core::ops::deref::Receiver

source ·
pub trait Receiver { }
🔬This is a nightly-only experimental API. (receiver_trait)
Expand description

Indicates that a struct can be used as a method receiver, without the arbitrary_self_types feature. This is implemented by stdlib pointer types like Box<T>, Rc<T>, &T, and Pin<P>.

Implementors§