Module core::ops::deref

source ·

Traits

  • ReceiverExperimental
    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>.
  • Used for immutable dereferencing operations, like *v.
  • Used for mutable dereferencing operations, like in *v = 1;.