Implement AsRef<NodeRef> for NodeDataRef?
robinkrahl opened this issue · comments
NodeDataRef
provides a reference to its NodeRef
with the as_node()
method. Could it also implement AsRef<NodeRef>
? That would make it easier to write methods that can accept either a NodeDataRef
or a NodeRef
.
I will soon archive this repository and make it read-only, so this issue will not be addressed: https://github.com/kuchiki-rs/kuchiki#archived