Creates a new [Pointer] from a [Location] and an [RlpNode].
(location: Location, rlp: RlpNode)
| 22 | impl Pointer { |
| 23 | /// Creates a new [Pointer] from a [Location] and an [RlpNode]. |
| 24 | pub fn new(location: Location, rlp: RlpNode) -> Self { |
| 25 | Self { location, rlp } |
| 26 | } |
| 27 | |
| 28 | /// Creates a new [Pointer] from a [Location] with an unhashed [RlpNode]. |
| 29 | pub fn new_unhashed(location: Location) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected