Trait lrs::ops::Deref

Objects that implement the immutable dereference operator.

Syntax

trait Deref {
    type Target: ?Sized;

    /* Required methods */
    fn deref(&self) -> &<Self as Deref>::Target
}

Associated types

NameDescription
Target

The output of the operator.

Methods

ReceiverNameDescription
&selfderef

The method that will be called by the operator.